search for: op_unload_native_code

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

2009 Jul 01
0
[LLVMdev] How to best add a dependency on libopagent.a/so?
...bug/lib/libLLVMJIT.a(OProfileJITEventListener.o): In function `(anonymous namespace)::OProfileJITEventListener::NotifyFreeingMachineCode(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`/in...