[PATCH] D57146: [llvm-objdump] - Print LMAs when dumping section headers.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 03:02:43 PST 2019
grimar created this revision.
grimar added reviewers: jhenderson, davide, rupprecht, khemant, jakehehrlich, sidneym.
When `--section-headers` is used, GNU objdump prints both LMA and VMA for sections.
llvm-objdump does not do that what makes it's output be slightly inconsistent.
Patch teaches llvm-objdump to print LMA/VMA for ELF file formats.
The behavior for other formats remains unchanged.
https://reviews.llvm.org/D57146
Files:
test/Object/objdump-no-sectionheaders.test
test/Object/objdump-sectionheaders.test
test/tools/llvm-objdump/X86/Inputs/phdrs-lma.elf-x86-64
test/tools/llvm-objdump/X86/phdrs-lma.test
tools/llvm-objdump/ELFDump.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-objdump/llvm-objdump.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57146.183280.patch
Type: text/x-patch
Size: 7855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/b7b254aa/attachment.bin>
More information about the llvm-commits
mailing list