Open
Description
From @gharrma on February 23, 2017 4:23
Options:
- Write a signal handler for SIGSEGV that (somehow) throws a
NullPointerException
. See here for tips. - Emit code that checks for null on each dereference, with the potential to remove redundant checks.
- Just crash, and make it clear that PolyLLVM does not support
NullPointerException
s. (But even if this were ok for client code, I doubt it would be OK for the Java library...)
Copied from original issue: gharrma/polyllvm#20