[LLVMdev] Debug llc crash using bugpoint

Arushi Aggarwal arushi987 at gmail.com
Mon May 23 13:33:12 PDT 2011


Hi,

What is the best way to debug an llc crash using bugpoint?

I am getting the following crash that I would like to reduce

llc: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/MC/MCAsmStreamer.cpp:273:
virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
`Symbol->isUndefined() && "Cannot define a symbol twice!"' failed.
0  llc             0x00000000013ae046
1  llc             0x00000000013ae5d4
2  libpthread.so.0 0x000000325660eb10
3  libc.so.6       0x0000003255a30265 gsignal + 53
4  libc.so.6       0x0000003255a31d10 abort + 272
5  libc.so.6       0x0000003255a296e6 __assert_fail + 246
6  llc             0x000000000133e387
7  llc             0x0000000000f1fca5 llvm::DwarfDebug::emitDebugInfo() +
255
8  llc             0x0000000000f2b9c6 llvm::DwarfDebug::endModule() + 1954
9  llc             0x0000000000f1502a
llvm::AsmPrinter::doFinalization(llvm::Module&) + 790
10 llc             0x00000000012e595b
llvm::FPPassManager::doFinalization(llvm::Module&) + 67
11 llc             0x00000000012e9f82
llvm::FPPassManager::runOnModule(llvm::Module&) + 120
12 llc             0x00000000012e9a47
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
13 llc             0x00000000012eae89
llvm::PassManagerImpl::run(llvm::Module&) + 111
14 llc             0x00000000012eaeeb llvm::PassManager::run(llvm::Module&)
+ 33
15 llc             0x00000000009dfc6b main + 2201
16 libc.so.6       0x0000003255a1d994 __libc_start_main + 244
17 llc             0x00000000009de5c9
Stack dump:
0.      Program arguments:
/localhome/aggarwa4/llvm29/llvm-obj/Debug+Asserts/bin/llc
Output/253.perlbmk.linked.rbc
1.      Running pass 'Function Pass Manager' on module
'Output/253.perlbmk.linked.rbc'.

Thanks,
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110523/783606e4/attachment.html>


More information about the llvm-dev mailing list