<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 - LLI build with LLVM_USE_INTEL_JITEVENTS crashes on Windows 7"
   href="https://bugs.llvm.org/show_bug.cgi?id=34974">34974</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLI build with LLVM_USE_INTEL_JITEVENTS crashes on Windows 7
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>lli
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Florian.PICHLMEIER@3ds.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19299" name="attach_19299" title="Reproducer">attachment 19299</a> <a href="attachment.cgi?id=19299&action=edit" title="Reproducer">[details]</a></span>
Reproducer

Hi,

I have build LLVM 4 with -DLLVM_USE_INTEL_JITEVENTS=true, which works fine on
Linux, but on Windows it crashes in lli. The problem occurs at the access of
the DebugObj.getData().data() in IntelJITEventListener.cpp, with DebugObj being
a struct at NULL.

I tried LLVM 5.0 and the same issue appeared

Attached is a minimal reproducer generated with Clang</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>