search for: libllvmmypass

Displaying 1 result from an estimated 1 matches for "libllvmmypass".

2010 Mar 08
2
[LLVMdev] Machine Function pass
...ot;); ----------------------- And a makefile: ----------------------- LEVEL = ../../.. LIBRARYNAME = LLVMMyPass LOADABLE_MODULE = 1 USEDLIBS = include $(LEVEL)/Makefile.common ----------------------- I managed to build the pass, but when I use it, i get: ----------------------- opt -load ~/.../libLLVMMyPass.so Error opening 'libLLVMMyPass.so': libLLVMMyPass.so: undefined symbol: _ZNK4llvm19MachineFunctionPass16getAnalysisUsageERNS_13AnalysisUsageE -load request ignored. ----------------------- I tried replacing USEDLIBS with: ----------------------- USEDLIBS = LLVMCodeGen.a LLVMTarget.a -...