[cfe-dev] clang trunk: extern "C"/static problem
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.
More information about the cfe-dev