Displaying 1 result from an estimated 1 matches for "kellytest".
Did you mean:
delltest
2006 Oct 30
0
[LLVMdev] viewCFG call from opt loaded shared lib
...nt to call F.viewCFG() from within the Hello.so shared library
runOnFunction() function, but I keep getting:
opt: symbol lookup error: ../../../Debug/lib/LLVMHello.so: undefined
symbol: _ZNK4llvm8Function7viewCFGEv
while using:
"opt -load ../../../Debug/lib/LLVMHello.so -print
/temp/llvm/KellyTest/test.bc"
I assume this means that I need to statically link in
LLVMAnalysis.a/LLVMCodeGen.a where viewCFG is located. I changed the
Makefile by adding these libs to the LLVMlibs variable and
recompiled successfully. I still get the same error, though.
I look at the VERBOSE=1 output for m...