aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2015-11-11 19:59:08 +0000
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2015-11-11 19:59:08 +0000
commitea7b3a232078690ea57a45d37601fc7cfea6de3d (patch)
treec340fccb32d93b4b8081b12662e0e05b18867209 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent0c6a4f197fe6aa95435323cbdbc4fe23e3694205 (diff)
downloadllvm-ea7b3a232078690ea57a45d37601fc7cfea6de3d.zip
llvm-ea7b3a232078690ea57a45d37601fc7cfea6de3d.tar.gz
llvm-ea7b3a232078690ea57a45d37601fc7cfea6de3d.tar.bz2
Add a libLTO diagnostic handler that supports lto_get_error_message API
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions