[PATCH] D73742: [Clang][Driver] After default -fintegrated-cc1, fix report_fatal_error no longer generates preprocessed source + reproducer.sh
Alexander Richardson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 7 05:18:32 PST 2020
arichardson added inline comments.
================
Comment at: clang/tools/driver/cc1_main.cpp:73
// defined as an internal software error. Otherwise, exit with status 1.
- exit(GenCrashDiag ? 70 : 1);
+ llvm::sys::Process::Exit(GenCrashDiag ? 70 : 1);
}
----------------
I don't think it matters (yet?) but we should probably also use llvm::sys::Process::Exit() in cc1as_main.cpp?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73742/new/
https://reviews.llvm.org/D73742
More information about the cfe-commits
mailing list