[llvm-bugs] [Bug 41515] New: Improve the behaviour of llvm-nm when symbols with invalid section indexes are encountered

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 16 10:02:53 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41515

            Bug ID: 41515
           Summary: Improve the behaviour of llvm-nm when symbols with
                    invalid section indexes are encountered
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-nm
          Assignee: unassignedbugs at nondot.org
          Reporter: snortotter at gmail.com
                CC: llvm-bugs at lists.llvm.org

When a symbol with an invalid section index is encountered, llvm-nm does not
print an error. It simply omits the symbol from the printable symbol list.
The desired behaviour can likely be achieved by altering the branch in
dumpSymbolNamesFromObject() when getSymbolAddress() returns an error, either to
add the symbol to the printable symbol list or print an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190416/ca17a3f3/attachment.html>


More information about the llvm-bugs mailing list