[LLVMbugs] [Bug 4877] New: Assertion failed: (DbgNode && "Invalid DIArray"), function getNumElements, file /Volumes/Data/Users/ddunbar/llvm/lib/ Analysis/DebugInfo.cpp, line 258.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Sep 3 16:47:11 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4877
Summary: Assertion failed: (DbgNode && "Invalid DIArray"),
function getNumElements, file
/Volumes/Data/Users/ddunbar/llvm/lib/Analysis/DebugInfo.
cpp, line 258.
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu
Created an attachment (id=3426)
--> (http://llvm.org/bugs/attachment.cgi?id=3426)
It goes boom.
The attached bc asserts in llc:
--
ddunbar at giles:tmp$ llc t2.bc
Assertion failed: (DbgNode && "Invalid DIArray"), function getNumElements, file
/Volumes/Data/Users/ddunbar/llvm/lib/Analysis/DebugInfo.cpp, line 258.
0 llc 0x0000000100b85d65 PrintStackTrace(void*) + 38
1 llc 0x0000000100b862f3 SignalHandler(int) + 336
2 libSystem.B.dylib 0x00007fff8726214a _sigtramp + 26
3 libSystem.B.dylib 0x00007fff5fbfe1c0 _sigtramp + 3633954960
4 libSystem.B.dylib 0x00007fff872de104 __pthread_markcancel + 0
5 llc 0x0000000100a065ee llvm::DIArray::getNumElements() const
+ 64
6 llc 0x000000010083ab0f
llvm::DwarfDebug::ConstructTypeDIE(llvm::CompileUnit*, llvm::DIE&,
llvm::DICompositeType) + 565
7 llc 0x000000010083838f
llvm::DwarfDebug::AddType(llvm::CompileUnit*, llvm::DIE*, llvm::DIType) + 405
8 llc 0x00000001008393c2
llvm::DwarfDebug::CreateSubprogramDIE(llvm::CompileUnit*, llvm::DISubprogram
const&, bool, bool) + 548
9 llc 0x0000000100839bd0
llvm::DwarfDebug::ConstructSubprogram(llvm::MDNode*) + 126
10 llc 0x000000010083a4d6
llvm::DwarfDebug::BeginModule(llvm::Module*, llvm::MachineModuleInfo*) + 576
11 llc 0x0000000100856493
llvm::DwarfWriter::BeginModule(llvm::Module*, llvm::MachineModuleInfo*,
llvm::raw_ostream&, llvm::AsmPrinter*, llvm::MCAsmInfo const*) + 157
12 llc 0x000000010082dafc
llvm::AsmPrinter::doInitialization(llvm::Module&) + 806
13 llc 0x0000000100b02153
llvm::FPPassManager::doInitialization(llvm::Module&) + 65
14 llc 0x0000000100b02332
llvm::FunctionPassManagerImpl::doInitialization(llvm::Module&) + 58
15 llc 0x0000000100b0239b
llvm::FunctionPassManager::doInitialization() + 41
16 llc 0x000000010002e834 main + 3045
17 llc 0x000000010002d540 start + 52
18 llc 0x0000000000000002 start + 4294781686
Stack dump:
0. Program arguments: llc t2.bc
Abort trap
--
Derived from an llvm-gcc ICE on x86_64-pc-linux-gnu.
--
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