[Clang] Remove unused #pragma clang __debug handle_crash
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 6 Feb 2020 20:25:26 +0000 (15:25 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 6 Feb 2020 20:27:04 +0000 (15:27 -0500)
commit8ecde3ac34bbb5a8d53d8ec5cd32867658646df1
treead32752fbf70c6230d12fe6f0109715879304080
parentda3dc0011e06c9f1aebe71d76eae92dc76e3db2e
[Clang] Remove unused #pragma clang __debug handle_crash

As discussed in D70568, remove this because it isn't used anywhere, and I think it's better to go through real crashes for testing (#pragma clang __debug crash).
Also remove the support function llvm::CrashRecoveryContext::HandleCrash() which was added at the same time by @ddunbar.

Differential Revision: https://reviews.llvm.org/D74063
clang/lib/Lex/Pragma.cpp
llvm/include/llvm/Support/CrashRecoveryContext.h
llvm/lib/Support/CrashRecoveryContext.cpp