https://bugs.llvm.org/show_bug.cgi?id=39523
Bug ID: 39523
Summary: Referencing LLVMCreateOprofileJITEventListener in
ExecutionEngine.h leads to link errors
Product: libraries
Version: 7.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Generic Execution Engine Support
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Undefined symbols for architecture x86_64:
\"_LLVMCreateOprofileJITEventListener\", referenced from:
_LLVMLink_LLVMCreateOprofileJITEventListener_Wrapper in \
llvmc70.cpp.o
(maybe you meant: \
_LLVMLink_LLVMCreateOprofileJITEventListener_Wrapper)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see \
invocation)
make[2]: *** [LLVMLink.dylib] Error 1
make[1]: *** [CMakeFiles/LLVMLink.dir/all] Error 2
make: *** [all] Error 2
This is because ExecutionEngine.h has LLVMCreateOprofileJITEventListener
But ExecutionEngineBindings.cpp has LLVMCreateOProfileJITEventListener
Notice the lower-case p and the upper-case P
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs