<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 --- - [arm disassembler] Disassembler can't read llvm created object"
   href="http://llvm.org/bugs/show_bug.cgi?id=15795">15795</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[arm disassembler] Disassembler can't read llvm created object
          </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>All
          </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>Backend: ARM
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>echristo@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>~/builds/build-llvm/Debug+Asserts/bin/llc -filetype=obj
2011-01-19-MergedGlobalDbg.ll

~/builds/build-llvm/Debug+Asserts/bin/llvm-objdump -disassemble
2011-01-19-MergedGlobalDbg.o

_get3:
      28:    40 f2 84 32                                      addlo    pc, r4,
#4
      2c:    c0 f2 00 02                                      andeq    pc, r0,
#12
      30:    7a 44 91 78                                      ldmvc    r1, {r1,
r3, r4, r5, r6, r10, lr}
/Users/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump: warning:
invalid instruction encoding
      35:    70 08 46 70                                      subvc    r0, r6,
r0, ror r8
      39:    47 00 bf 40                                      adcsmi    r0, pc,
r7, asr #32

otool -tv gives:

_get3:
00000028    f2403284    movw    r2, #900
0000002c    f2c00200    movt    r2, #0
00000030        447a    add    r2, pc
00000032        7891    ldrb    r1, [r2, #2]
00000034        7090    strb    r0, [r2, #2]
00000036        4608    mov    r0, r1
00000038        4770    bx    lr
0000003a        bf00    nop

which isn't even close to what llvm-objdump is giving.</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>