[llvm-bugs] [Bug 39523] New: Referencing LLVMCreateOprofileJITEventListener in ExecutionEngine.h leads to link errors

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 1 14:18:51 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: brenton at wolfram.com
                CC: 1101.debian at gmail.com, llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181101/1d84ebc0/attachment.html>


More information about the llvm-bugs mailing list