<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 - DFSan event_callbacks.c breaks with MemorySSA DSE"
   href="https://bugs.llvm.org/show_bug.cgi?id=47488">47488</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DFSan event_callbacks.c breaks with MemorySSA DSE
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>dfsan
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jeremy.morse.llvm@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>florian_hahn@apple.com, llvm-bugs@lists.llvm.org, mascasa@google.com, skerner@chromium.org, vitalybuka@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After dead-store-elimination began using MemorySSA in fb109c42d9, a dfsan test
has begun failing:

  compiler-rt/test/dfsan/event_callbacks.c

As shown on this buildbot:

  <a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/29539">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/29539</a>

Because the memcpy/memmove calls at the end of the main function are now
optimised out. It looks like this is just a case of the test being optimised
more than expected. Both DSE and dfsan are out of my area of expertise, so I'm
marking the test XFail for now, CCing recent dfsan authors and Florian.</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>