[PATCH] D58103: [llvm-readobj] Only allow 4-byte pr_data and refactor GNU_PROPERTY_X86_FEATURE_1_AND processing a bit

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 23:28:58 PST 2019


MaskRay created this revision.
MaskRay added reviewers: mike.dvoretsky, grimar, craig.topper.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a project: LLVM.

AMD64 psABI says: "The pr_data field of each property contains a 4-byte unsigned integer." Thus we don't need to handle 8-byte pr_data.


Repository:
  rL LLVM

https://reviews.llvm.org/D58103

Files:
  test/tools/llvm-readobj/note-gnu-property.s
  tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58103.186405.patch
Type: text/x-patch
Size: 4194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190212/c730dee7/attachment.bin>


More information about the llvm-commits mailing list