llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.83k stars 11.46k forks source link

llc -march=c does not support tcc #6250

Closed llvmbot closed 1 year ago

llvmbot commented 14 years ago
Bugzilla Link 5878
Version 2.6
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @lattner

Extended Description

In the generated C file, tcc is not mentioned... tcc = tiny c compiler... Here is some code that is needed for tcc. This should be in the generated c file too...

define alloca(x) _alloca_tcc

You could include that too....

lattner commented 14 years ago

Please submit a patch, I don't have tcc so I can't test it.