[llvm-bugs] [Bug 37297] New: DOE-ProxyApps-C fail minimal UBSan checks

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 30 18:09:28 PDT 2018


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

            Bug ID: 37297
           Summary: DOE-ProxyApps-C fail minimal UBSan checks
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Programs Tests
          Assignee: hfinkel at anl.gov
          Reporter: chandlerc at gmail.com
                CC: llvm-bugs at lists.llvm.org

Two of the DOE-ProxyApps-C benchmarks fail even pretty minimal UBSan checks.

I built the test suite with the following:
CFLAGS=-fsanitize=return,returns-nonnull-attribute,vla-bound,unreachable,float-cast-overflow
-fno-sanitize-recover=undefined
CXXFLAGS=$CFLAGS
LDFLAGS=-fsanitize=undefined

I saw the following tests fail:
    test-suite ::
MultiSource/Benchmarks/DOE-ProxyApps-C/SimpleMOC/SimpleMOC.test
    test-suite :: MultiSource/Benchmarks/DOE-ProxyApps-C/XSBench/XSBench.test


Might be worth checking the benchmarks you care about with the full
-fsanitize=undefined as well, but I'm focused on these minimal flags for now...

-- 
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/20180501/f3e8b30a/attachment.html>


More information about the llvm-bugs mailing list