<html>
    <head>
      <base href="http://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 --- - opt seg fault multiple files in the Linux Kernel x86"
   href="http://llvm.org/bugs/show_bug.cgi?id=17252">17252</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>opt seg fault multiple files in the Linux Kernel x86
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>marceloabsousa@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=11205" name="attach_11205" title="Bytecode file">attachment 11205</a> <a href="attachment.cgi?id=11205&action=edit" title="Bytecode file">[details]</a></span>
Bytecode file

With:
LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):
  LLVM version 3.4svn
  DEBUG build.
  Built Sep 14 2013 (21:22:42).
  Default target: x86_64-unknown-linux-gnu
  Host CPU: corei7-avx

clang version 3.4 (trunk 190758)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Running the optimizer with instnamer and lowerswitch seg faults. This
particular seg fault error occurs in several (10+) files in the Linux Kernel
x86. I'm able to run llvm-dis on it for inspection. Here's the failure log
file. One of the .bc in question goes in attach.

0  opt             0x00000000018a5a15 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1  opt             0x00000000018a5c9c
2  opt             0x00000000018a56e0
3  libpthread.so.0 0x00002aaaab311030
4  opt             0x0000000000952a07
5  opt             0x00000000016c6c70
llvm::DebugInfoFinder::processType(llvm::DIType) + 110
6  opt             0x00000000016c6e14
llvm::DebugInfoFinder::processType(llvm::DIType) + 530
Stack dump:
0.      Program arguments: opt -instnamer -lowerswitch
Segmentation fault
make: *** [drivers/w1/masters/ds1wm.o.bc] Error 139</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>