Commit Graph

2 Commits

Author SHA1 Message Date
Alexander Richardson 5d1055e822 Update avr attributes test for output change in r340519
After this commit there is an addrspace(1) before the attribute #. Since
these tests are only checking the value of the attribute add a {{.*}} to
make the test resilient to future output changes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340522 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-23 10:21:36 +00:00
Dylan McKay 8a58cc33d0 [AVR] Add support for the 'interrupt' and 'naked' attributes
Summary:
This teaches clang how to parse and lower the 'interrupt' and 'naked'
attributes.

This allows interrupt signal handlers to be written.

Reviewers: aaron.ballman

Subscribers: malcolm.parsons, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294402 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-08 05:09:26 +00:00