about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-16 02:06:26 +0000
committerbors <bors@rust-lang.org>2018-10-16 02:06:26 +0000
commitdf0d6ad9c1510630b234f6bb96a69a081de0b307 (patch)
tree3888a6b11bf0f8628561ab18c06d774d468258d8 /src/test/incremental/thinlto
parent46880f41b7aeb897b8245474196bba9dc11f0e88 (diff)
parent1811f1322a46658c1b5b765b5cf6d52aace34e30 (diff)
downloadrust-df0d6ad9c1510630b234f6bb96a69a081de0b307.tar.gz
rust-df0d6ad9c1510630b234f6bb96a69a081de0b307.zip
Auto merge of #55023 - euclio:llvm-error-handler, r=cuviper
Exit with code 101 on fatal codegen errors

Fixes #54992.

This PR installs a custom fatal error handler that prints the error from LLVM and exits with 101. There should be no visible change in the output from LLVM. This allows distinguishing a fatal LLVM error with a compilation error by exit code.

This PR also modifies the LLVM codegen backend to ICE instead of emitting a fatal error when encountering a LLVM worker thread panic for the same reason.

r? @cuviper
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions