Add a non-exiting diagnostic handler for LTO.
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Fri, 11 Sep 2015 20:01:53 +0000 (20:01 +0000)
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Fri, 11 Sep 2015 20:01:53 +0000 (20:01 +0000)
commit7ba3323aff198a93d9f6ba50c11152e1007fdf3b
tree4fc3e08c496d67e141eaa2600f057d36653d3dd2
parent4d5d1dcf1d63047f162c4a43898ad6d847d7b661
Add a non-exiting diagnostic handler for LTO.
This is in order to give LTO clients a chance to do some clean-up before
terminating the process.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247461 91177308-0d34-0410-b5e6-96231b3b80d8
lib/LTO/LTOCodeGenerator.cpp
test/LTO/X86/diagnostic-handler-noexit.ll [new file with mode: 0644]
tools/llvm-lto/llvm-lto.cpp