Michael.Kang
2012-Mar-26 05:46 UTC
[LLVMdev] How to use BasicBlock to response the segmentation fault in generated code
I need to use one BasicBlock to deal with the segmentation fault in JIT function. But how to jump one BasicBlock when segmentation fault triggered in the JIT? Just like register a BasicBlock as a signal handler . Thanks MK -- www.skyeye.org
陳韋任
2012-Mar-26 06:11 UTC
[LLVMdev] How to use BasicBlock to response the segmentation fault in generated code
On Mon, Mar 26, 2012 at 01:46:47PM +0800, Michael.Kang wrote:> I need to use one BasicBlock to deal with the segmentation fault in > JIT function. But how to jump > one BasicBlock when segmentation fault triggered in the JIT? Just > like register a BasicBlock > as a signal handler .I am not sure what you mean "segmentation fault triggered in the JIT", maybe you're looking for JITEventListener? Regards, chenwj [1] http://llvm.org/docs/doxygen/html/classllvm_1_1JITEventListener.html -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Possibly Parallel Threads
- [LLVMdev] RE : RE : RE : Detect if a basicblock is part of a loop
- [LLVMdev] RE : Detect if a basicblock is part of a loop
- [LLVMdev] RE : RE : Detect if a basicblock is part of a loop
- [LLVMdev] if llvm can translate and generate the function in parallel with multithread
- [LLVMdev] RE : RE : Detect if a basicblock is part of a loop