[LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
Anton Korobeynikov
anton at korobeynikov.info
Mon Apr 2 00:00:48 PDT 2012
Hello
> I posted my result on the gentoo PR.
> https://bugs.gentoo.org/show_bug.cgi?id=403519#c12
> https://bugs.gentoo.org/show_bug.cgi?id=403519#c13
> https://bugs.gentoo.org/show_bug.cgi?id=403519#c14
I commented there. You need to declare function like
extern "C" {
static void* LLVM_ATTRIBUTE_USED
PPCCompilationCallbackC
<everything else goes here>
};
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list