diff options
| author | Julian Lettner <julian.lettner@gmail.com> | 2019-10-23 23:36:29 -0700 |
|---|---|---|
| committer | Julian Lettner <julian.lettner@apple.com> | 2020-04-03 13:03:44 -0700 |
| commit | 6f8c45067b1d8d18a669302c0a14d37a230fbc42 (patch) | |
| tree | a01cb9309e5a89e47f39091cf1a3cdbfb08061a3 /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | c74dd640fd740c6928f66a39c7c15a014af3f66f (diff) | |
| download | llvm-6f8c45067b1d8d18a669302c0a14d37a230fbc42.zip llvm-6f8c45067b1d8d18a669302c0a14d37a230fbc42.tar.gz llvm-6f8c45067b1d8d18a669302c0a14d37a230fbc42.tar.bz2 | |
[lit] Cleanly exit on user keyboard interrupt
Graceful lit shutdown on user keyboard interrupt [Ctrl+C] was a
longstanding goal of mine. After a few refactorings this revision
finally enables it. We use the following strategy to deal with
KeyboardInterrupt:
https://noswap.com/blog/python-multiprocessing-keyboardinterrupt
Printing of a helpful summary for interrupted runs (just as the one for
completed runs) will be tackled in future revisions.
Reviewed By: serge-sans-paille, rnk
Differential Revision: https://reviews.llvm.org/D77365
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
