[PATCH] D26809: [lli] Handle SIGSEGV in Jit'ed code more gracefully.

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 14:06:25 PST 2016


rnk added a comment.

I don't see much value to installing a signal handler that exits. The kernel does that for you and even gives a helpful exit code that the shell will interprept and print "Segmentation fault" for you. This also fights with LLVM's existing pretty stack trace functionality.


https://reviews.llvm.org/D26809





More information about the llvm-commits mailing list