search for: function_register_t

Displaying 4 results from an estimated 4 matches for "function_register_t".

2007 Dec 13
0
[LLVMdev] Exception handling in JIT
...t just passing it a ptr to a MachineCodeEmitter object? > > Again, I've sent you the patch too fast. These functions are taken > from > the g++ unwinder library (libgcc_s.so). Declaring them like I did is > really bad. I'm thinking of something like: > > typedef void function_register_t(void*) > ExecutionEngine::registerFrameRegisteringFunction(function_register_t) > > What do you think? Ok. Evan
2007 Dec 12
3
[LLVMdev] Exception handling in JIT
...er_frame_table(void*); >> > > Can you explain what these are? > > Again, I've sent you the patch too fast. These functions are taken from the g++ unwinder library (libgcc_s.so). Declaring them like I did is really bad. I'm thinking of something like: typedef void function_register_t(void*) ExecutionEngine::registerFrameRegisteringFunction(function_register_t) What do you think? >> + >> // >> ===------------------------------------------------------------------- >> ---===// >> // JIT lazy compilation code. >> // >> @@ -275,6 +290...
2007 Dec 11
0
[LLVMdev] Exception handling in JIT
On Dec 10, 2007, at 9:52 AM, Nicolas Geoffray wrote: > Hi everyone, > > Here's a patch that enables exception handling when jitting. I've > copy/pasted _many_code from lib/Codegen/DwarfWriter.cpp, so we may > need > to factorize it, but the functionality is there and I'm very happy > with > it :) Very nice! I don't know enough about EH, someone else
2007 Dec 10
2
[LLVMdev] Exception handling in JIT
Hi everyone, Here's a patch that enables exception handling when jitting. I've copy/pasted _many_code from lib/Codegen/DwarfWriter.cpp, so we may need to factorize it, but the functionality is there and I'm very happy with it :) lli should now be able to execute the output from llvm-gcc when using exceptions (the UnwindInst instruction is not involved in this patch). Just add the