[PATCH] D57146: [llvm-objdump] - Print LMAs when dumping section headers.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 25 07:19:51 PST 2019


grimar added inline comments.


================
Comment at: test/tools/llvm-objdump/X86/phdrs-lma.test:23
+## Check we print both VMA and LMA correctly when dumping section headers.
+# RUN: llvm-objdump --section-headers %p/Inputs/phdrs-lma.elf-x86-64 | FileCheck %s
+
----------------
jhenderson wrote:
> Does yaml2obj provide the ability to specify a different LMA to VMA for segments? That would be better than a pre-built binary, if we can use it.
Oh cool, I did not know yaml2obj is able to do that. Done.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57146/new/

https://reviews.llvm.org/D57146





More information about the llvm-commits mailing list