[llvm-bugs] [Bug 42930] New: Missing "File:" name line for GNU output when multiple inputs specified.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 8 03:53:11 PDT 2019


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

            Bug ID: 42930
           Summary: Missing "File:" name line for GNU output when multiple
                    inputs specified.
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-readobj
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: jh7370.2008 at my.bristol.ac.uk, llvm-bugs at lists.llvm.org

r366147 recently added "File: lib.a(test.o)" output for GNU-style output in
llvm-readobj, but only when printing archives. However, GNU readelf also prints
this when multiple inputs are specified (but not when only one is specified):

$ readelf --sections test2.o test.o

File: test2.o
There are 33 section headers, starting at offset 0x1c08:
...

File: test.o
There are 25 section headers, starting at offset 0x890:
...

We should add this to improve our compatibility with GNU and make out output
easier to read for multiple inputs.

-- 
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/20190808/40c4ee79/attachment.html>


More information about the llvm-bugs mailing list