Page MenuHomePhabricator

[MSP430] Allow msp430_intrcc functions to not have interrupt attribute.

Authored by pftbest on Sep 7 2019, 3:38 AM.



Useful in case you want to have control over interrupt vector generation.
For example in Rust language we have an arrangement where all unhandled
ISR vectors gets mapped to a single default handler function. Which is
hard to implement when LLVM tries to generate vectors on its own.

Diff Detail


Event Timeline

pftbest created this revision.Sep 7 2019, 3:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2019, 3:38 AM
pftbest updated this revision to Diff 221776.Sep 25 2019, 8:20 AM

Add error handling when function has interrupt attribute but doesn't have correct CC.

asl accepted this revision.Sep 25 2019, 8:34 AM

LGTM, thanks!

This revision is now accepted and ready to land.Sep 25 2019, 8:34 AM
This revision was automatically updated to reflect the committed changes.