[LLVMdev] Calling Conventions Cont'd
Chris Lattner
sabre at nondot.org
Mon Apr 14 14:51:00 PDT 2008
On Mon, 14 Apr 2008, Duncan Sands wrote:
>> If you want to map from a C type/calling convetion to LLVM IR, clang is a
>> good way to go. It isn't fully up to snuff with all the ABIs out there,
>> but will be doing much better over the next few months.
>
> How about extracting the clang code and turning it into a set of helper
> routines for people who want to be able to generate C compatible function
> signatures?
Fortunately, clang is built as a set of libraries. This would just be one
more interface built on top of the asts + llvm code generator.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list