<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - llc crashes while bootstraping LTO (Debug)"
   href="https://llvm.org/bugs/show_bug.cgi?id=27101">27101</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llc crashes while bootstraping LTO (Debug)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>davide@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>llc: ../lib/CodeGen/AsmPrinter/DIE.cpp:122: const llvm::DIE*
llvm::DIE::getUnit() const: Assertion `Cu && "We should not have orphaned
DIEs."' failed.


$ ./llc bugpoint-reduced-function-2.bc
#0 0x0000000000d89c85 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/davide/work/llvm/build-release/bin/llc+0xd89c85)
#1 0x0000000000d87a06 llvm::sys::RunSignalHandlers()
(/home/davide/work/llvm/build-release/bin/llc+0xd87a06)
#2 0x0000000000d87bf3 SignalHandler(int)
(/home/davide/work/llvm/build-release/bin/llc+0xd87bf3)
#3 0x00007f1b50c3e9f0 __restore_rt (/lib64/libpthread.so.0+0x109f0)
#4 0x000000000078a580 llvm::DIEEntry::EmitValue(llvm::AsmPrinter const*,
llvm::dwarf::Form) const
(/home/davide/work/llvm/build-release/bin/llc+0x78a580)
#5 0x0000000000786efc llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const
(/home/davide/work/llvm/build-release/bin/llc+0x786efc)
#6 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const
(/home/davide/work/llvm/build-release/bin/llc+0x786f3b)
#7 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const
(/home/davide/work/llvm/build-release/bin/llc+0x786f3b)
#8 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const
(/home/davide/work/llvm/build-release/bin/llc+0x786f3b)
#9 0x0000000000786f3b llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const
(/home/davide/work/llvm/build-release/bin/llc+0x786f3b)
#10 0x000000000079d2fa llvm::DwarfFile::emitUnits(bool)
(/home/davide/work/llvm/build-release/bin/llc+0x79d2fa)
#11 0x0000000000798a3d llvm::DwarfDebug::endModule()
(/home/davide/work/llvm/build-release/bin/llc+0x798a3d)
#12 0x0000000000785d69 llvm::AsmPrinter::doFinalization(llvm::Module&)
(/home/davide/work/llvm/build-release/bin/llc+0x785d69)
#13 0x0000000000aabd09 llvm::FPPassManager::doFinalization(llvm::Module&)
[clone .localalias.408] (/home/davide/work/llvm/build-release/bin/llc+0xaabd09)
#14 0x0000000000ab76e5 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/davide/work/llvm/build-release/bin/llc+0xab76e5)
#15 0x0000000000540aed compileModule(char**, llvm::LLVMContext&)
(/home/davide/work/llvm/build-release/bin/llc+0x540aed)
#16 0x0000000000523390 main
(/home/davide/work/llvm/build-release/bin/llc+0x523390)
#17 0x00007f1b4fff3580 __libc_start_main (/lib64/libc.so.6+0x20580)
#18 0x0000000000538db9 _start
(/home/davide/work/llvm/build-release/bin/llc+0x538db9)
Stack dump:
0.      Program arguments: ./llc bugpoint-reduced-function-2.bc 
Segmentation fault (core dumped)

Attaching a repro.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>