llvm-project/llvm/tools/llvm-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 Fix required library for r250699 to BitWriter instead of BitReader. 2015-10-19 15:21:46 +00:00
LLVMBuild.txt Fix required library for r250699 to BitWriter instead of BitReader. 2015-10-19 15:21:46 +00:00
Makefile
llvm-lto.cpp Switch lto codegen to using diagnostic handlers. 2015-11-17 19:48:12 +00:00