[PATCH] D70959: [ELF] Support for PT_GNU_PROPERTY in program headers and tools

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 09:18:56 PST 2019


peter.smith updated this revision to Diff 231925.
peter.smith marked 17 inline comments as done.
peter.smith added a comment.

Thanks for the comments. I've paired the tests back to only print the header type. The GNU readelf string type matches, it looks like GNU objdump is missing the string, I've followed the same convention it uses for PT_GNU_RELRO, which is just RELRO.


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

https://reviews.llvm.org/D70959

Files:
  llvm/include/llvm/BinaryFormat/ELF.h
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/tools/llvm-objdump/elf-pt-gnu-property.test
  llvm/test/tools/llvm-readobj/elf-pt-gnu-property.test
  llvm/test/tools/yaml2obj/ELF/program-header.yaml
  llvm/tools/llvm-objdump/ELFDump.cpp
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70959.231925.patch
Type: text/x-patch
Size: 4317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191203/c1fa5c11/attachment.bin>


More information about the llvm-commits mailing list