summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2015-11-17 19:48:12 +0000
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2015-11-17 19:48:12 +0000
commit8e348cc732a61b25ed297d5d284bc9d5748f1311 (patch)
treed03d58eae9276630d5999f2392288ba719ca5902 /llvm/lib/CodeGen/MachineFunction.cpp
parent2ae15e06093b776d8d0ca1f24bb3790005bf21eb (diff)
downloadbcm5719-llvm-8e348cc732a61b25ed297d5d284bc9d5748f1311.tar.gz
bcm5719-llvm-8e348cc732a61b25ed297d5d284bc9d5748f1311.zip
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud