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

            Bug ID: 49088
           Summary: Don't print "Section: <?>" for ET_CORE file note
                    printing
           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]

Spun off from https://reviews.llvm.org/D74393. LLVM style printing of ELF notes
can be a little confusing for ET_CORE files, and quite possibly other ELFs with
no sections. In such cases, rather than printing a section name for each note
region (e.g. "Section: .note.foo"), llvm-readobj simply prints "Section: <?>",
which could lead people to wonder, why can't llvm-readobj load the section name
for this ELF? It would be less confusing if it simply didn't print the
"Section:" line in those situations (the offset and size is already printed, so
there is still enough information to find the note data if needed). This would
be similar to GNU style printing which prints "Displaying notes found at file
offset xxxxx with length xxxxx:" instead of "Displaying notes found in:
.note.foo".

-- 
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