[LLVMdev] LLVM and Interrupt Service Routines.

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jul 24 10:35:04 PDT 2009

On 24/07/2009, at 18.29, Duncan Sands wrote:

> an Ada interrupt handler is registered using an Ada library routine.
> The library might in fact route the interrupt to some assembler code
> like you describe, which itself would then call the registered  
> handler.
> I don't know the details of how it is all made to work.

Both are possible.

I have seen systems where it is possible to compile a function as an  
interrupt handler, and at the same time the runtime library allows you  
to hook in normal functions like you describe.

More information about the llvm-dev mailing list