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

            Bug ID: 43941
           Summary: Add column headers for relocation printing
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objdump
          Assignee: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: llvm-bugs@lists.llvm.org

GNU objdump prints column headers for relocation printing, but llvm-objdump
does not. We should add them for compatibility, and also readability:

C:\Work\TempWork> objdump -r bar.o

bar.o:     file format elf64-x86-64

RELOCATION RECORDS FOR [.text.main]:
OFFSET           TYPE              VALUE
000000000000000b R_X86_64_PC32     .L.str-0x0000000000000004
0000000000000012 R_X86_64_PLT32    printf-0x0000000000000004

C:\Work\TempWork> C:\llvm\build\Debug\bin\llvm-objdump -r bar.o

bar.o:  file format ELF64-x86-64

RELOCATION RECORDS FOR [.text.main]:
000000000000000b R_X86_64_PC32 .L.str-4
0000000000000012 R_X86_64_PLT32 printf-4

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