diff options
author | Sam Parker <sam.parker@arm.com> | 2017-01-13 11:04:21 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2017-01-13 11:04:21 +0000 |
commit | 770ceb69ba997d9a58cc258490640960911e7c11 (patch) | |
tree | 56912ea2260427dfdb4ede08dc37ee9dbdc56024 /llvm/lib/Target/ARM/ARMAsmPrinter.cpp | |
parent | 438a1ecc2caa8a0e96ba26ea067069d59ae03404 (diff) | |
download | bcm5719-llvm-770ceb69ba997d9a58cc258490640960911e7c11.tar.gz bcm5719-llvm-770ceb69ba997d9a58cc258490640960911e7c11.zip |
[ARM] Enable objdump to construct triple for ARM
Now that The ARMAttributeParser has been moved into the library,
it has been modified so that it can parse the attributes without
printing them and stores them in a map. ELFObjectFile now queries
the attributes to fill out the architecture details of a provided
triple for 'arm' and 'thumb' targets. llvm-objdump uses this new
functionality.
Differential Revision: https://reviews.llvm.org/D28281
llvm-svn: 291898
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp index 8ec9cb02813..f852805408c 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp @@ -841,7 +841,7 @@ void ARMAsmPrinter::emitAttributes() { ARMBuildAttrs::Allowed); else ATS.emitAttribute(ARMBuildAttrs::ABI_FP_number_model, - ARMBuildAttrs::AllowIEE754); + ARMBuildAttrs::AllowIEEE754); if (STI.allowsUnalignedMem()) ATS.emitAttribute(ARMBuildAttrs::CPU_unaligned_access, |