check for LLVM global variable pointer being NULL. Arises in mod[[ value = TRUE]]