summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/arm-interrupt-attr.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash with interrupt attribute on ARM.Eli Friedman2017-03-141-0/+5
| | | | | | An indirect call has no associated function declaration. llvm-svn: 297694
* Warn when calling a non interrupt function from an interrupt on ARMJonathan Roelofs2017-01-181-0/+11
| | | | | | | | | | The idea for this originated from a really tricky bug: ISRs on ARM don't automatically save off the VFP regs, so if say, memcpy gets interrupted and the ISR itself calls memcpy, the regs are left clobbered when the ISR is done. https://reviews.llvm.org/D28820 llvm-svn: 292375
* [ARM] ARM-specific attributes should be accepted for big-endianOliver Stannard2016-09-151-0/+3
| | | | | | | | | | | | | | 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 llvm-svn: 281596
* Updated the wording of two attribute-related diagnostics so that they print ↵Aaron Ballman2014-01-021-2/+2
| | | | | | the offending attribute name. Also updates the associated test cases. llvm-svn: 198355
* Implement ARM GNU-style interrupt attributeTim Northover2013-10-011-0/+16
This attribute allows users to use a modified C or C++ function as an ARM exception-handling function and, with care, to successfully return control to user-space after the issue has been dealt with. rdar://problem/14207019 llvm-svn: 191769
OpenPOWER on IntegriCloud