[LLVMdev] LLVM and Interrupt Service Routines.
samuraileumas at yahoo.com
Tue Jul 21 08:46:25 PDT 2009
Have you tried attribute((used))?
>From: "Sanjiv.Gupta at microchip.com" <Sanjiv.Gupta at microchip.com>
>To: llvmdev at cs.uiuc.edu
>Sent: Tuesday, July 21, 2009 10:07:53 AM
>Subject: [LLVMdev] LLVM and Interrupt Service Routines.
>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. We are planning to introduce a new "interrupt" attribute
>(to be modeled similiar to "section" attribute) which one can use in different
>How does that sound? Or do we have something available already?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev