diff options
author | Nuno Lopes <nuno.lopes@tecnico.ulisboa.pt> | 2022-05-30 19:44:06 +0100 |
---|---|---|
committer | Nuno Lopes <nuno.lopes@tecnico.ulisboa.pt> | 2022-05-30 19:44:06 +0100 |
commit | 8c55de9ee7f63a26e6edf7bcf4279f64602b3bf1 (patch) | |
tree | acd0ae38771803ccf8ea2130c50ff24ed3c1d033 /llvm/lib/Support/ErrorHandling.cpp | |
parent | 80b3dcc045f8ea6e5e532d8891bbf1305bce89e8 (diff) | |
download | llvm-8c55de9ee7f63a26e6edf7bcf4279f64602b3bf1.zip llvm-8c55de9ee7f63a26e6edf7bcf4279f64602b3bf1.tar.gz llvm-8c55de9ee7f63a26e6edf7bcf4279f64602b3bf1.tar.bz2 |
fix tests after my commit 80b3dcc045f8ea6e5e532d8891bbf1305bce89e8
doesn't like exit code 126 I'm afraid
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
-rw-r--r-- | llvm/lib/Support/ErrorHandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ErrorHandling.cpp b/llvm/lib/Support/ErrorHandling.cpp index 3acae3f..b8b3b74 100644 --- a/llvm/lib/Support/ErrorHandling.cpp +++ b/llvm/lib/Support/ErrorHandling.cpp @@ -122,7 +122,7 @@ void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag) { if (GenCrashDiag) abort(); else - exit(126); + exit(1); } void llvm::install_bad_alloc_error_handler(fatal_error_handler_t handler, |