[llvm-bugs] [Bug 43941] New: Add column headers for relocation printing

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 8 02:26:43 PST 2019


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: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191108/890a5c7e/attachment.html>


More information about the llvm-bugs mailing list