<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 - --section should warn if combined with a missing section"
   href="https://bugs.llvm.org/show_bug.cgi?id=41898">41898</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>--section should warn if combined with a missing section
          </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>If --section is specified with a section that is not found in the input, GNU
objdump warns, but llvm-objdump does not. It would be useful to have this
warning in llvm-objdump, I think:

binutils@ubuntu:~/Work$ ~/llvm/build/bin/llvm-objdump -D test.o
--section=bazzle

test.o: file format ELF64-x86-64

binutils@ubuntu:~/Work$ objdump -D test.o --section=bazzle

test.o:     file format elf64-x86-64

objdump: section 'bazzle' mentioned in a -j option, but not found in any input
file

Note: when implementing this, make sure that the behaviour matches GNU for
archives where some members have the section and others don't.</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>