[LLVMbugs] [Bug 6882] New: clang crashes on spirit.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 20 10:38:48 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6882

           Summary: clang crashes on spirit.cpp
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: gohman at apple.com
                CC: llvmbugs at cs.uiuc.edu


clang crashes on SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp.

Here's a backtrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x000000000040a546 in clang::IdentifierInfo::getLength (this=0x0) at
/llvm/tools/clang/lib/Frontend/../../include/clang/Basic/IdentifierTable.h:98
98      if (Entry) return Entry->getKeyLength();
(gdb) where
#0  0x000000000040a546 in clang::IdentifierInfo::getLength (this=0x0) at
/llvm/tools/clang/lib/Frontend/../../include/clang/Basic/IdentifierTable.h:98
#1  0x000000000044df6b in clang::IdentifierInfo::getName (this=0x0) at
/llvm/tools/clang/lib/Frontend/../../include/clang/Basic/IdentifierTable.h:110
#2  0x000000000057cfbe in mangleSourceName (this=0x7fffffff9d90, II=0x0) at
Mangle.cpp:638
#3  0x000000000057efa9 in mangleType (this=0x7fffffff9d90, T=0x32d8b90) at
Mangle.cpp:1171
#4  0x000000000057e38f in mangleType (this=0x7fffffff9d90, T=...) at
/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/TypeNodes.def:95
#5  0x000000000057ec91 in mangleType (this=0x7fffffff9d90, T=0x32d8e70) at
Mangle.cpp:1118
#6  0x000000000057e05b in mangleType (this=0x7fffffff9d90, T=...) at
/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/TypeNodes.def:67
#7  0x000000000057e7c7 in mangleBareFunctionType (this=0x7fffffff9d90,
T=0x32d8ed0, MangleReturnType=true) at Mangle.cpp:1026
#8  0x000000000057c0c1 in mangleFunctionEncoding (this=0x7fffffff9d90,
FD=0x32d8f60) at Mangle.cpp:298
#9  0x000000000057bf5c in mangle (this=0x7fffffff9d90, D=0x4cb5d50, Prefix=...)
at Mangle.cpp:252
#10 0x00000000005813f4 in clang::CodeGen::MangleContext::mangleName
(this=0x2069480, D=0x4cb5d50, Res=...) at Mangle.cpp:1897
#11 0x000000000056096d in clang::CodeGen::CodeGenModule::getMangledName
(this=0x2069210, Buffer=..., ND=0x4cb5d50) at CodeGenModule.cpp:193
#12 0x000000000056089a in clang::CodeGen::CodeGenModule::getMangledName
(this=0x2069210, Buffer=..., GD=...) at CodeGenModule.cpp:176
#13 0x00000000005626ba in clang::CodeGen::CodeGenModule::EmitGlobal
(this=0x2069210, GD=...) at CodeGenModule.cpp:711
#14 0x000000000056648d in clang::CodeGen::CodeGenModule::EmitTopLevelDecl
(this=0x2069210, D=0x4cb5d50) at CodeGenModule.cpp:1767

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list