[cfe-dev] clang trunk: extern "C"/static problem

Richtarsky, Martin martin.richtarsky at sap.com
Fri Mar 15 01:47:25 PDT 2013


From: metafoo at gmail.com [mailto:metafoo at gmail.com] On Behalf Of Richard Smith

> Inconveniently, we have to cope with exactly that when we call
> into the problematic symbols in llvm/lib/Target/X86/X86JITInfo.cpp (this is what
> the message I quoted above was referring to). Search for calls to
> LLVMX86CompilationCallback2, and note the ASMPREFIX hack.

FYI, this is the same file where I ran into this problem (llvm3.1 is part of the project I compiled). I saw that it has been fixed in clang trunk by just removing the static.

Best regards,
Martin




More information about the cfe-dev mailing list