Displaying 1 result from an estimated 1 matches for "llvmdeletebasicblock".
2010 Mar 18
0
[LLVMdev] How to link LLVMCore.a into a custom pass that is fed to opt
...WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
opt: symbol lookup error: downloads/llvm2-6/Debug/lib/Sample2.so: undefined
symbol: LLVMDeleteBasicBlock
Hooking up the sample to a driver outside of opt (linking in LLVMCore) works
as expected.
I was hoping if someone knew this was a known issue that would be fixed in
the future or if anyone could think of a workaround/fix for the problem.
Here is my repro Makefile and cpp for reference:
Makefile...