Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a libLTO diagnostic handler that supports lto_get_error_message API | Yunzhong Gao | 2015-11-11 | 1 | -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 Gao | 2015-09-11 | 1 | -0/+13 |
This is in order to give LTO clients a chance to do some clean-up before terminating the process. llvm-svn: 247461 |