[PATCH] D28281: [ARM] Enable objdump to construct a useful triple for ARM
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 01:44:25 PST 2017
samparker created this revision.
samparker added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.
Following from https://reviews.llvm.org/D28227, the ARMAttributeParser now stores the attributes in a map and can be constructed without a printer. ELFObjectFile can now use the cpu attribute to build up a triple, which can then be used by llvm-objdump and results in the user only needing to specify either 'arm' or 'thumb' as the triple. The next patch will extend this further and add subtarget features, in a similar manner to MIPS.
https://reviews.llvm.org/D28281
Files:
include/llvm/Object/ELFObjectFile.h
include/llvm/Object/ObjectFile.h
include/llvm/Support/ARMAttributeParser.h
lib/Object/ELFObjectFile.cpp
lib/Support/ARMAttributeParser.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28281.83018.patch
Type: text/x-patch
Size: 13340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170104/1d00cc20/attachment-0001.bin>
More information about the llvm-commits
mailing list