<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Dynamic zero-sized and non-function symbols should be included in disassembly"
   href="https://bugs.llvm.org/show_bug.cgi?id=41947">41947</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Dynamic zero-sized and non-function symbols should be included in disassembly
          </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>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>llvm-objdump
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jh7370.2008@my.bristol.ac.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For some reason, when adding dynamic symbols to the set of symbols to be used
in disassembly, only non-zero-sized function symbols are added. This does not
match GNU's behaviour, and is also inconsistent with the static symbol
behaviour. We should remove this restriction. It doesn't give us anything.

Example output for an object with two dynamic symbols (one non-function, and
one zero-sized):

objdump.exe -d stripped.o

stripped.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000001000 <zero_sized>:
    1000:       90                      nop

0000000000001001 <not_func>:
    1001:       90

llvm-objdump.exe -d stripped.o

stripped.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000001000 .text:
    1000:       90                      nop
    1001:       90</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>