OSDN Git Service

[llvm-readobj] Support GNU_PROPERTY_X86_FEATURE_1_AND notes in .note.gnu.property
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Tue, 29 May 2018 14:49:51 +0000 (14:49 +0000)
committerAlexander Ivchenko <alexander.ivchenko@intel.com>
Tue, 29 May 2018 14:49:51 +0000 (14:49 +0000)
commit980b901b1e71198925a015eed32e798708fd5674
tree40f822caa3be2698ca54ba036f4c873bdef3568c
parente4c479fce54540d9a1eba2a9ba828b4065391b80
[llvm-readobj] Support GNU_PROPERTY_X86_FEATURE_1_AND notes in .note.gnu.property

This patch allows parsing GNU_PROPERTY_X86_FEATURE_1_AND
notes in .note.gnu.property sections. These notes
indicate that the object file is built to support Intel CET.

patch by mike.dvoretsky

Differential Revision: https://reviews.llvm.org/D47473

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333424 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BinaryFormat/ELF.h
test/tools/llvm-readobj/note-gnu-property.s
tools/llvm-readobj/ELFDumper.cpp