Hi,<div><br></div><div>What is the best way to debug an llc crash using bugpoint?</div><div><br></div><div>I am getting the following crash that I would like to reduce </div><div><br></div><div><div>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.</div>
<div>0 llc 0x00000000013ae046</div><div>1 llc 0x00000000013ae5d4</div><div>2 libpthread.so.0 0x000000325660eb10</div><div>3 libc.so.6 0x0000003255a30265 gsignal + 53</div><div>4 libc.so.6 0x0000003255a31d10 abort + 272</div>
<div>5 libc.so.6 0x0000003255a296e6 __assert_fail + 246</div><div>6 llc 0x000000000133e387</div><div>7 llc 0x0000000000f1fca5 llvm::DwarfDebug::emitDebugInfo() + 255</div><div>8 llc 0x0000000000f2b9c6 llvm::DwarfDebug::endModule() + 1954</div>
<div>9 llc 0x0000000000f1502a llvm::AsmPrinter::doFinalization(llvm::Module&) + 790</div><div>10 llc 0x00000000012e595b llvm::FPPassManager::doFinalization(llvm::Module&) + 67</div><div>11 llc 0x00000000012e9f82 llvm::FPPassManager::runOnModule(llvm::Module&) + 120</div>
<div>12 llc 0x00000000012e9a47 llvm::MPPassManager::runOnModule(llvm::Module&) + 381</div><div>13 llc 0x00000000012eae89 llvm::PassManagerImpl::run(llvm::Module&) + 111</div><div>14 llc 0x00000000012eaeeb llvm::PassManager::run(llvm::Module&) + 33</div>
<div>15 llc 0x00000000009dfc6b main + 2201</div><div>16 libc.so.6 0x0000003255a1d994 __libc_start_main + 244</div><div>17 llc 0x00000000009de5c9</div><div>Stack dump:</div><div>0. Program arguments: /localhome/aggarwa4/llvm29/llvm-obj/Debug+Asserts/bin/llc Output/253.perlbmk.linked.rbc</div>
<div>1. Running pass 'Function Pass Manager' on module 'Output/253.perlbmk.linked.rbc'.</div></div><div><br></div><div>Thanks,</div><div>Arushi</div>