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: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: jh7370.2...@my.bristol.ac.uk, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to