[LLVMdev] How to use BasicBlock to response the segmentation fault in generated code
陳韋任
chenwj at iis.sinica.edu.tw
Sun Mar 25 23:11:54 PDT 2012
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
More information about the llvm-dev
mailing list