[LLVMdev] LLVM and Interrupt Service Routines.
alex at karahalios.org
Tue Jul 21 09:43:02 PDT 2009
Assuming that that support for Ada in LLVM is complete, I would look
to see if there is something that is done there. Ada provides two
pragmas (Interrupt_Handler & Attach_Handler) which allow you to both
statically and dynamically attach interrupts to procedures.
On Jul 21, 2009, at 8:07 AM, <Sanjiv.Gupta at microchip.com> <Sanjiv.Gupta at microchip.com
> Apparently, there is no explicit support for ISRs in the llvm
> framework. I could not find a matching attribute that can be used
> to mark a function as an ISR, which codegen and optimizer can use
> accordingly. ISRs aren't called explicity from any function, so
> currently the optimizer deletes them.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev