[PATCH] D28678: [ARM] Fix ARM build attribute printing
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 06:56:28 PST 2017
samparker created this revision.
samparker added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.
lld tests caught that the attributes weren't being printed in the 'FileAttributes' scope.
https://reviews.llvm.org/D28678
Files:
lib/Support/ARMAttributeParser.cpp
Index: lib/Support/ARMAttributeParser.cpp
===================================================================
--- lib/Support/ARMAttributeParser.cpp
+++ lib/Support/ARMAttributeParser.cpp
@@ -674,9 +674,10 @@
DictScope ASS(*SW, ScopeName);
if (!Indicies.empty())
SW->printList(IndexName, Indicies);
+ ParseAttributeList(Data, Offset, Length);
+ } else {
+ ParseAttributeList(Data, Offset, Length);
}
-
- ParseAttributeList(Data, Offset, Length);
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28678.84303.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/7884c2ed/attachment.bin>
More information about the llvm-commits
mailing list