search for: pr4481

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

Did you mean: pr4489
2009 Jul 01
0
[LLVMdev] How to best add a dependency on libopagent.a/so?
...chineCode(llvm::Function const&, void*)': /usr/local/google/jyasskin/llvm/oprof/src/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp:85: undefined reference to `op_unload_native_code' ... (This is the lli.cpp after my patch, and the -I`pwd`/include is to work around http://llvm.org/PR4481) It works if I include libopagent.a after the libs: $ g++ ../src/tools/lli/lli.cpp `./Debug/bin/llvm-config --cxxflags --ldflags --libs` /usr/local/lib/oprofile/libopagent.a -I`pwd`/include $ So, how do I use the build system to tell llvm-config to print the right output? If I change llvm-confi...