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

            Bug ID: 43408
           Summary: Change error to warning for invalid section index when
                    dumping symbols
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-readobj
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

In LLVM output style, llvm-readobj emits an error if you try to dump the
symbols (or dynamic symbols) of an object where one or more of the symbols
contains an invalid section index. This could happen because the ELF is
malformed, but for dynamic symbols at least, it can also happen with legitimate
objects when sections have been removed by e.g. llvm-objcopy --strip-sections,
if the object contains a dynamic symbol defined in the object. Note that GNU
output doesn't have this issue, because it doesn't try to look up the section
name. We should change this error to a warning to make this option usable in
such situations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to