[all-commits] [llvm/llvm-project] fd04cb: [Clang][Driver] After default -fintegrated-cc1, ma...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Wed Feb 12 01:26:19 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: fd04cb43e1d83c6f18c932de94c1e341272ed160
https://github.com/llvm/llvm-project/commit/fd04cb43e1d83c6f18c932de94c1e341272ed160
Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
Date: 2020-02-12 (Wed, 12 Feb 2020)
Changed paths:
M clang/test/Driver/crash-report.c
M clang/tools/driver/cc1_main.cpp
M clang/tools/driver/cc1as_main.cpp
M llvm/include/llvm/Support/CrashRecoveryContext.h
M llvm/include/llvm/Support/Process.h
M llvm/lib/Support/CrashRecoveryContext.cpp
M llvm/lib/Support/ErrorHandling.cpp
M llvm/lib/Support/Process.cpp
Log Message:
-----------
[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)
More information about the All-commits
mailing list