]> granicus.if.org Git - clang/commit
[ARM] ARM-specific attributes should be accepted for big-endian
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 15 Sep 2016 08:55:41 +0000 (08:55 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 15 Sep 2016 08:55:41 +0000 (08:55 +0000)
commit236cf680351c37657f9a25029d102f17aac2a2d3
tree28d6c52c3dad7685bd331a60f81eebb6f1b3fbcc
parent0ead18bb1b2b948a36e22f251f59df6d68381c9b
[ARM] ARM-specific attributes should be accepted for big-endian

The ARM-specific C attributes (currently just interrupt) need to check
for both the big- and little-endian versions of the triples, so that
they are accepted for both big and little endian targets.

TargetWindows and TargetMicrosoftCXXABI also only use the little-endian
triples, but this is correct as windows is not supported on big-endian
ARM targets (and this is asserted in lib/Basic/Targets.cpp).

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281596 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
test/Sema/arm-interrupt-attr.c