summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/Preamble.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-02-11 10:17:15 -0500
committerHans Wennborg <hans@chromium.org>2020-02-12 10:22:21 +0100
commitfd04cb43e1d83c6f18c932de94c1e341272ed160 (patch)
tree0eccf00d27a17e3b8ece0a0a4d7eecd328b5d524 /clang-tools-extra/clangd/Preamble.cpp
parentaeba7ba9f3dada09e196d174e7f13b82f01300db (diff)
downloadbcm5719-llvm-fd04cb43e1d83c6f18c932de94c1e341272ed160.tar.gz
bcm5719-llvm-fd04cb43e1d83c6f18c932de94c1e341272ed160.zip
[Clang][Driver] After default -fintegrated-cc1, make llvm::report_fatal_error() generate preprocessed source + reproducer.sh again.
Added a test for #pragma clang __debug llvm_fatal_error to test for the original issue. Added llvm::sys::Process::Exit() and replaced ::exit() in places where it was appropriate. This new function would call the current CrashRecoveryContext if one is running on the same thread; or call ::exit() otherwise. Fixes PR44705. Differential Revision: https://reviews.llvm.org/D73742 (cherry picked from commit faace365088a2a3a4cb1050a9facfc34a7a56577)
Diffstat (limited to 'clang-tools-extra/clangd/Preamble.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud