summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/X86/diagnostic-handler-noexit.ll
Commit message (Collapse)AuthorAgeFilesLines
* Add a libLTO diagnostic handler that supports lto_get_error_message APIYunzhong Gao2015-11-111-2/+2
| | | | | | | | | | | | | | This is a follow-up from the previous discussion on the thread: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20151019/307763.html The LibLTO lto_get_error_message() API reads error messages from a std::string sLastErrorString. Instead of passing this string around as an argument, this patch creates a diagnostic handler and then sends this handler to the constructor of LTOCodeGenerator. Differential Revision: http://reviews.llvm.org/D14313 llvm-svn: 252791
* Add a non-exiting diagnostic handler for LTO.Yunzhong Gao2015-09-111-0/+13
This is in order to give LTO clients a chance to do some clean-up before terminating the process. llvm-svn: 247461
OpenPOWER on IntegriCloud