llvm-project/llvm/tools/lto
Yunzhong Gao 8e348cc732 Switch lto codegen to using diagnostic handlers.
This patch removes the std::string& argument from a number of C++ LTO API calls
and instead makes them use the installed diagnostic handler. This would also
improve consistency of diagnostic handling infrastructure: if an LTO client used
lto_codegen_set_diagnostic_handler() to install a custom error handler, we do
not want some error messages to go through the custom error handler, and some
other error messages to go into sLastErrorString.

llvm-svn: 253367
2015-11-17 19:48:12 +00:00
..
CMakeLists.txt [CMake] Add LLVM_VERSION_PATCH to the -current_version flag for libLTO and libLLVM. 2015-10-14 07:50:21 +00:00
LTODisassembler.cpp
Makefile Remove definition of LLVM_VERSION_INFO; this macro is not used by any of the 2014-09-26 21:53:12 +00:00
lto.cpp Switch lto codegen to using diagnostic handlers. 2015-11-17 19:48:12 +00:00
lto.exports lto: Clean up C libLTO interfaces pertaining to linker flags. 2015-06-29 23:09:12 +00:00