<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Referencing LLVMCreateOprofileJITEventListener in ExecutionEngine.h leads to link errors"
   href="https://bugs.llvm.org/show_bug.cgi?id=39523">39523</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Referencing LLVMCreateOprofileJITEventListener in ExecutionEngine.h leads to link errors
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Generic Execution Engine Support
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>brenton@wolfram.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>1101.debian@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>