<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Sanjiv,<div><br></div><div>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.</div><div><br></div><div>Alex Karahalios</div><div><br><div><div>On Jul 21, 2009, at 8:07 AM, <<a href="mailto:Sanjiv.Gupta@microchip.com">Sanjiv.Gupta@microchip.com</a>> <<a href="mailto:Sanjiv.Gupta@microchip.com">Sanjiv.Gupta@microchip.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-family: Arial; font-size: small; ">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.<span class="Apple-converted-space"> </span></span></span></blockquote></div><br></div></body></html>