<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 --- - Disassembly is incorrect when using lldb with ELF core files"
   href="http://llvm.org/bugs/show_bug.cgi?id=17227">17227</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Disassembly is incorrect when using lldb with ELF core files
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ashok.thirumurthi@intel.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>-----> Actual behaviour:

~/dev/llvm/tools/lldb/test/functionalities/inferior-assert$ ulimit -c unlimited
~/dev/llvm/tools/lldb/test/functionalities/inferior-assert$ ./a.out
~/dev/llvm/tools/lldb/test/functionalities/inferior-assert$ lldb a.out -c core
Core file '~/dev/lldb/tools/lldb/test/functionalities/inferior-assert/core'
(x86_64) was loaded.
Process 0 stopped
* thread #1: tid = 0, 0x00007fd44603a425 libc.so.6`raise + 53, name = 'a.out',
stop reason = signal SIGABRT
    frame #0: 0x00007fd44603a425 libc.so.6`raise + 53
libc.so.6`raise + 53:
-> 0x7fd44603a425:  addb   %al, (%rax)
   0x7fd44603a427:  addb   %al, (%rax)
   0x7fd44603a429:  addb   %al, (%rax)
   0x7fd44603a42b:  addb   %al, (%rax)
(lldb) 


-----> Expected behaviour:

libc.so.6`raise + 53:
-> 0x7fee04de7425:  cmpq   $-0x1000, %rax
   0x7fee04de742b:  ja     0x7fee04de743f            ; raise + 79
   0x7fee04de742d:  rep    
   0x7fee04de742e:  ret    
(lldb) 


Note that the "dissasemble -a" command shows a similar pattern of
misdisassembly.

Reproduced on Ubuntu 12.04 with r190622 of llvm, clang, and lldb.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>