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: unassignedb...@nondot.org
          Reporter: snortot...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to