<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 --- - r226467 causes crashes when parsing bitcode generated by LLVM 3.5"
   href="https://llvm.org/bugs/show_bug.cgi?id=25248">25248</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>r226467 causes crashes when parsing bitcode generated by LLVM 3.5
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>Bitcode Reader
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tstellar@gmail.com
          </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>Created <span class=""><a href="attachment.cgi?id=15109" name="attach_15109" title="bitcode to reproduce crash">attachment 15109</a> <a href="attachment.cgi?id=15109&action=edit" title="bitcode to reproduce crash">[details]</a></span>
bitcode to reproduce crash

Commit r226467 causes llvm-dis to crash when parsing bitcode generated by LLVM
3.5.  Here is the backtrace:

#0 0x7f540de75b92 llvm::sys::PrintStackTrace(_IO_FILE*)
(libLLVM-3.7svn.so+0x44db92)
#1 0x7f540de73d21 SignalHandler(int) (libLLVM-3.7svn.so+0x44bd21)
#2 0x7f540d6001c0 (/lib64/libpthread.so.0+0x101c0)
#3 0x7f540e31c200 llvm::Comdat::getName() const (libLLVM-3.7svn.so+0x8f4200)
#4 0x7f540e303b21 llvm::Comdat::print(llvm::raw_ostream&) const
(libLLVM-3.7svn.so+0x8dbb21)
#5 0x7f540e30e60d llvm::AssemblyWriter::printModule(llvm::Module const*)
(libLLVM-3.7svn.so+0x8e660d)
#6 0x7f540e30f571 llvm::Module::print(llvm::raw_ostream&,
llvm::AssemblyAnnotationWriter*) const (libLLVM-3.7svn.so+0x8e7571)
#7 0x402899 main (llvm-dis+0x402899)
#8 0x7f540c5e9a65 __libc_start_main (/lib64/libc.so.6+0x21a65)
#9 0x402a39 _start (llvm-dis+0x402a39)

Attached are 2 files:

comdat-crash-3.5.bc - The bitcode which triggers the bug
comdat-crash-3.5.ll - The LLVM IR used to generate the bitcode with llvm 3.5</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>