[llvm-bugs] [Bug 30655] New: clang 3.9 release and 4.0 trunk ICE with -fsanitize-coverage=trace-pc on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 10 07:32:46 PDT 2016


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

            Bug ID: 30655
           Summary: clang 3.9 release and 4.0 trunk ICE with
                    -fsanitize-coverage=trace-pc on Windows
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: s_bugzilla at nedprod.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17421
  --> https://llvm.org/bugs/attachment.cgi?id=17421&action=edit
crash dump

For smaller programs -fsanitize-coverage=trace-pc works very well with clang
targeting the MSVC ABI on Windows. Unfortunately more complex programs ICEs the
compiler:

C:\Users\ned\Documents\boostish\kerneltest\test>clang++ -shared -fexceptions -o
test_output.dll coverage_main.cpp -I.. -DUNICODE -fsanitize-coverage=trace-pc
Wrote crash dump file "C:\Users\ned\AppData\Local\Temp\clang++.exe-4df732.dmp"
0x00007FF6AEA72CF6 (0x0000017E203C0C80 0x0000000000000000 0x0000000000000000
0x00002F61F001923C)
0x00007FF6AEA72C76 (0x0000017E2021CCB8 0x0000017E2038FA10 0x0000017E2021CCB8
0x0000000000000000)
0x00007FF6B0123F5F (0x00000000202D4301 0x0000000000000855 0x0000017E20460950
0x0000017E18709E90)
0x00007FF6B0122ED8 (0x00000000000000A1 0x0000017E20270DC0 0x0000017E204348D8
0x00000000000000A1)
0x00007FF6AEA489D1 (0x0000017E1F1D8901 0x00007FF6B01DD4D0 0x000000000000001F
0x00000000000008A6)
0x00007FF6AEECCF13 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000017E1A7FD708)
0x00007FF6B01B7665 (0x00007FF6B0CE8920 0x00007FF6AF18B72A 0x0000000800000000
0x00007FF6ADF01001)
0x00007FF6AF6A8E82 (0x0000000000000000 0x0000000000000000 0x0000000000000008
0x0000017E18678AA0)
0x00007FF6AF1C0AD7 (0x0000000000000004 0x0000017E00000013 0x00007FF6B08BBBB7
0x0000000000000004)
0x00007FF6AF18E077 (0x0000017E18684DC0 0x00007FF6B01DD547 0x00002535323EB0BD
0x00007FF6B0CE9188)
0x00007FF6AF1FE8E2 (0x000000000001FF01 0x0000000000000000 0x0000000000000940
0x0000000000000001)
0x00007FF6ADF05B14 (0x0000000000000001 0x0000017E1868B310 0x0000001AA9D8E680
0x00007FF9DB18BDFF)
0x00007FF6ADF03BEC (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF6B01DE1F4 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF9D9598364 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FF9DB1C5E91 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
clang++.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.9.0 (branches/release_39)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
clang++.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang++.exe: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++.exe: note: diagnostic msg:
C:\Users\ned\AppData\Local\Temp\coverage_main-ae94ef.cpp
clang++.exe: note: diagnostic msg:
C:\Users\ned\AppData\Local\Temp\coverage_main-ae94ef.sh
clang++.exe: note: diagnostic msg:

********************

-- 
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/20161010/38e217e2/attachment-0001.html>


More information about the llvm-bugs mailing list