[PATCH] D56663: [MSP430] Improve support of 'interrupt' attribute

Kristina Bessonova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 14 06:31:58 PST 2019


krisb created this revision.
Herald added a subscriber: cfe-commits.
krisb edited the summary of this revision.
krisb added a reviewer: asl.
krisb edited the summary of this revision.

- Accept as an argument constants in range 0..63 (aligned with TI headers and linker scripts provided with TI GCC toolchain).

- Emit function attribute 'interrupt'='xx' instead of aliases (used in the backend to create a section for particular interrupt vector).

- Add more diagnostics.


Repository:
  rC Clang

https://reviews.llvm.org/D56663

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/CodeGen/TargetInfo.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/attr-msp430.c
  test/Sema/attr-msp430.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56663.181546.patch
Type: text/x-patch
Size: 5521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190114/bcb906f3/attachment.bin>


More information about the cfe-commits mailing list