[LLVMbugs] [Bug 10222] New: llc -O0 crash somehow due to debug info
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 29 02:10:57 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10222
Summary: llc -O0 crash somehow due to debug info
Product: new-bugs
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6798)
--> (http://llvm.org/bugs/attachment.cgi?id=6798)
testcase .ll
$ llc -O0 921206-1.ll
...
3 llc 0x0000000000cc8394
__gnu_cxx::new_allocator<llvm::MachineBasicBlock*>::construct(llvm::MachineBasicBlock**,
llvm::MachineBasicBlock* const&) + 52
4 llc 0x0000000000cc79de std::vector<llvm::MachineBasicBlock*,
std::allocator<llvm::MachineBasicBlock*> >::push_back(llvm::MachineBasicBlock*
const&) + 64
5 llc 0x0000000001103b18
llvm::MachineBasicBlock::addSuccessor(llvm::MachineBasicBlock*, unsigned int) +
194
Here llc runs out of memory because it is trying to push an infinite number
of basic block successors into the vector.
I don't see how debug info could be causing this, but if you strip debug info
then the problem goes away.
--
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