Add a non-exiting diagnostic handler for LTO.