[llvm-bugs] [Bug 47488] New: DFSan event_callbacks.c breaks with MemorySSA DSE

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 11 03:21:57 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47488

            Bug ID: 47488
           Summary: DFSan event_callbacks.c breaks with MemorySSA DSE
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: dfsan
          Assignee: unassignedbugs at nondot.org
          Reporter: jeremy.morse.llvm at gmail.com
                CC: florian_hahn at apple.com, llvm-bugs at lists.llvm.org,
                    mascasa at google.com, skerner at chromium.org,
                    vitalybuka at google.com

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:

  http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/29539

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.

-- 
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/20200911/2093d1e2/attachment.html>


More information about the llvm-bugs mailing list