From 8c55de9ee7f63a26e6edf7bcf4279f64602b3bf1 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Mon, 30 May 2022 19:44:06 +0100 Subject: [PATCH] fix tests after my commit 80b3dcc045f8ea6e5e532d8891bbf1305bce89e8 doesn't like exit code 126 I'm afraid --- llvm/lib/Support/ErrorHandling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.7.4