[LLVMdev] Invalid call generated on 64-bit linux when calling native C function from IR
Óscar Fuentes
ofv at wanadoo.es
Mon Feb 16 13:03:41 PST 2009
Jan Rehders <wurstgebaeck at googlemail.com> writes:
[snip
> I am currently using EE->addGlobalMapping to register the native functions.
> This appears to be nessecary because the native functions will be part of a
> .so/.dylib so the jit will not find them using dlsym on linux and we would
> prefer to stripp all symbols.
>
> I'm using LLVM 2.4, which I compiled using EXTRA_OPTIONS="-m64/-m32 -fPIC".
Seems related to this, which last time I checked was fixed on svn:
http://llvm.org/bugs/show_bug.cgi?id=2920
[snip]
--
Oscar
More information about the llvm-dev
mailing list