[llvm-bugs] [Bug 25682] New: UBSan: -fsanitize-undefined-trap-on-error generates ambiguous debug locations

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 30 11:55:44 PST 2015


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

            Bug ID: 25682
           Summary: UBSan: -fsanitize-undefined-trap-on-error generates
                    ambiguous debug locations
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Sanitizer
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: aizatsky at chromium.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Originally reported at https://github.com/google/sanitizers/issues/622


Building with
-fsanitize-undefined-trap-on-error -ftrap-function=abort
all checks inside one functions are jumping to a single abort() call. This way
it's impossible to tell which one has failed, and there may be dozens of checks
in larger functions.

We should consider doing something similar to what ASan does to ensure that
calls to __asan_report_* are not merged.

-- 
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/20151130/9844bf3d/attachment.html>


More information about the llvm-bugs mailing list