[llvm-bugs] [Bug 28790] New: Clang Crash: Dependent types cannot show up in debug information

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 31 13:57:28 PDT 2016


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

            Bug ID: 28790
           Summary: Clang Crash: Dependent types cannot show up in debug
                    information
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: drivehappy at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16849
  --> https://llvm.org/bugs/attachment.cgi?id=16849&action=edit
CPP, Shell script and minidump produced

Running clang-cl from nightly (July 27th, 64-bit) produces the following
UNREACHABLE assertion when pulling in a Boost.Spirit header:

Dependent types cannot show up in debug information
UNREACHABLE executed at
D:\src\llvm_package_276882\llvm\tools\clang\lib\CodeGen\CGDebugInfo.cpp:2415!
Wrote crash dump file "C:\Temp\clang-cl.exe-a434bc.dmp"
0x00007FF6E02E1776 (0x0000000000000001 0x0000000090378972 0x00007FF6E2782820
0x00007FFBAC995F47)
0x00007FF6E1D5FAD5 (0x0000000000000001 0x0000013400000000 0x00007FF6E2AB2DF8
0x0000000000000000)
0x00007FF6E1D573F8 (0x0000000000000002 0x0000001854F8B358 0x00000134ADB1AE30
0x0000013400000000)
0x00007FF6E030462D (0x00000134B13CDA00 0x00000134B3B78B70 0x00000134ADB2BE78
0x00007FF6E04FD95A)
0x00007FF6E05096C6 (0x00000134B4942840 0x00007FF6DFF1B42B 0x0000001854F8B468
0x00000134B13CDA98)
0x00007FF6E04FA61A (0x000065CE9A7A6F9E 0x0000001854F8B580 0x00000134B13CDA1C
0x00000134B13CDA00)
0x00007FF6E04FFDDE (0x00000134B4942770 0x00000134B4942860 0x0000000000000003
0x000065CE9A7A6F9E)
0x00007FF6E0500040 (0x0000001854F8B548 0x00007FF6E02E878D 0x0000000000000090
0x00000134ADB60CC0)
0x00007FF6E050401A (0x00000134B01FE8E8 0x00000134B3B78F00 0x00000134ADB2B6D0
0x00007FF6E04FD95A)
0x00007FF6E0504664 (0x00000134B8C49A30 0x0000001854F8B860 0x00000134B14429C0
0x00000134B8C49A20)
0x00007FF6E04FA61A (0x0000001854F8B7E8 0x0000001854F8B7D8 0x00000134B8C49A40
0x00000134B8C49A30)
0x00007FF6E05021F4 (0x000065CE9A7A6F9E 0x00000134ADACB080 0x000000000003C099
0x00007FF6E048DA6E)
0x00007FF6E0509D23 (0x00000134ADAC35B0 0x000065CE9A7A6F9E 0x00000134B8C49670
0x00000134B8C49670)
0x00007FF6E0504764 (0x0000000000000000 0x0000000000000013 0x00000134B8C49670
0x00007FF6DFF2169D)
0x00007FF6E0503DFD (0x00000134B14428C8 0x00000134B3B78F00 0x0000001854F8BF38
0x00007FF6E04FD95A)
0x00007FF6E0504664 (0x00000134ADB1AE30 0x00007FF6E04C5066 0x00000134ADB2B6C0
0x0000001854F8BF38)
0x00007FF6E04FA61A (0x00000134B02338B0 0x00000134B8C49670 0x00000134B8C49670
0x000065CE9A7A6F9E)
0x00007FF6E0501DB3 (0x00000134B01FECB8 0x0000000000000001 0x0000000000000028
0x0000000000000002)
0x00007FF6E0503FEE (0x00000134B01FE5D8 0x00000134B3B78BD0 0x00000134ADB2B6D0
0x00007FF6E04FD95A)
0x00007FF6E0504664 (0x00000134B8C4ACC0 0x0000001854F8C230 0x0000013400000001
0x00000134B8C4ACB0)
0x00007FF6E04FA61A (0x0000001854F8C1B8 0x0000001854F8C1A8 0x00000134B8C4ACD0
0x00000134B8C4ACC0)
0x00007FF6E05021F4 (0x0000001854F8C488 0x00007FFBAC96C468 0x00000134B1AA9A80
0x00000134ADAC35B0)
0x00007FF6E0509D23 (0x00000134ADAC35B0 0x0000000000000050 0x000000000000005F
0x00000134B1AA9A90)
0x00007FF6E0504764 (0x000065CE9A7A6F9E 0x00000134B8C4B170 0x00000134BA770DE0
0x00000134B8C4B170)
0x00007FF6E0503DFD (0x00000134BA770DE0 0x00000134B3B78A50 0x0000001854F8C908
0x00007FF6E04FD95A)
0x00007FF6E0504664 (0x00000134ADB1AE30 0x00007FF6E04C5066 0x00000134ADB2B6C0
0x0000001854F8C908)
0x00007FF6E04FA61A (0x00000134ADB08E28 0x00000134B8C4B170 0x00000134B8C4B170
0x000065CE9A7A6F9E)
0x00007FF6E0501DB3 (0x0000000000000002 0x00007FF6E048DE41 0x001E04DB00000015
0x00000134ADACB080)
0x00007FF6E0503FEE (0x00000134BA771050 0x00000134ADAC72A0 0x00000134ADB28638
0x00007FF6E04FD95A)
0x00007FF6E0504664 (0x0000000000000000 0x000001B600000001 0x000065CE9A7A6F9E
0x00000134ADB28638)
0x00007FF6E04FA61A (0x000065CE9A7A6F9E 0x00000134BA771050 0x0000000000000026
0x00000134ADB2B6C0)
0x00007FF6E04FE8BA (0x00000134ADB1AE30 0x00007FF600000001 0x000065CE9A7A6F9E
0x00000134BA771051)
0x00007FF6E04FA61A (0x00000134ADB1AE30 0x0000001800000001 0x000065CE9A7A6F9E
0x000065CE9A7A6F9E)
0x00007FF6E04FD23E (0x00000134BA771050 0x00007FF6E196F5A3 0x0000000000000003
0x0000000000000000)
0x00007FF6E04FA61A (0x00000134BA771050 0x00007FF6E0543FCF 0x0000000100000000
0x000065CE9A7A6F9E)
0x00007FF6E051090F (0x0000000000000000 0x00000134BA771051 0x000065CE9A7A6F9E
0x0000000000000001)
0x00007FF6E04CA81A (0x0000001854F8CF70 0x00000134ADB4C470 0x0000001854F8DD68
0x00000134ADB29F30)
0x00007FF6E04C439D (0x0000000000000000 0x0000001854F8D9B8 0x0000001854F8CF78
0x0000000054F8CFF8)
0x00007FF6E04CB839 (0x0000000000000000 0x0000000082FEE31F 0x0000000000273C5A
0x000065CE9A7A6F9E)
0x00007FF6E1D2722F (0x0000000000000000 0x00007FF6E0F40EDB 0x00000134ADACBF10
0x00000134ADB4C470)
0x00007FF6E1D26523 (0x00000134ADA7DA80 0x0000000500000010 0x0000000800000000
0x00000134ADA6A6E0)
0x00007FF6E0F3DD13 (0x0000000000000000 0x0000000000000000 0x0000000000000008
0x00000134ADAC3890)
0x00007FF6E0916739 (0x0000000000000004 0x0000013400000013 0x00007FF6E24E5D73
0x0000000000000004)
0x00007FF6E08CA201 (0x00000134ADA8CE90 0x00007FF6E1D55B87 0x000057F7DF32EC13
0x00007FF6E2AB28F8)
0x00007FF6E095F795 (0x0000001AAD01D801 0x0000000000000000 0x00000000000003E0
0x0000000000000001)
0x00007FF6DEF665AF (0x00000134ADA9B9A0 0x0000001854F8E938 0x0000001854F8E860
0x00007FFBAC95BDFF)
0x00007FF6DEF64583 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF6E1D56834 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FFBAA908364 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FFBAC995E91 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
clang-cl.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin



I've narrowed down the reproduce case as best as I can, specifically I'm
building with Boost 1.58.0 and performing the following should reproduce:

    #include <boost/spirit/home/support/terminal.hpp>

    BOOST_SPIRIT_DEFINE_TERMINALS_NAME_EX(
    ( lit, lit_type )
    )

Attached the full cpp, shell script and minidump.

-- 
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/20160731/be0db351/attachment.html>


More information about the llvm-bugs mailing list