[LLVMdev] Calling C++ from LLVM Asm via JIT
Mike Stump
mrs at apple.com
Tue May 5 13:51:02 PDT 2009
On May 5, 2009, at 12:06 PM, samuraileumas at yahoo.com wrote:
> Does the name-mangling scheme of LLVM-GCC affect global functions in
> my library
Yes.
> and can they be called without a C binding?
Yes, if you want to write non-portable code.
> If not, how hard is it to write a C binding for a C++ function?
One line per function. If you know python, awk or perl, you can even
generating the bindings, if you had to.
More information about the llvm-dev
mailing list