[compiler-rt] 3923dd4 - Fix uncaught-exception.test. (#146190)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 27 19:23:54 PDT 2025


Author: Qinkun Bao
Date: 2025-06-27T22:23:51-04:00
New Revision: 3923dd4484b8a46295b1ce0711e9bcb35cc19c09

URL: https://github.com/llvm/llvm-project/commit/3923dd4484b8a46295b1ce0711e9bcb35cc19c09
DIFF: https://github.com/llvm/llvm-project/commit/3923dd4484b8a46295b1ce0711e9bcb35cc19c09.diff

LOG: Fix uncaught-exception.test. (#146190)

See https://github.com/llvm/llvm-project/pull/125924
To match a literal plus sign, it must be escaped with a backslash (`\`).

Added: 
    

Modified: 
    compiler-rt/test/fuzzer/uncaught-exception.test

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/fuzzer/uncaught-exception.test b/compiler-rt/test/fuzzer/uncaught-exception.test
index 984001056f1d5..264bb5dc3a914 100644
--- a/compiler-rt/test/fuzzer/uncaught-exception.test
+++ b/compiler-rt/test/fuzzer/uncaught-exception.test
@@ -8,4 +8,4 @@ RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
 # For example, msvc fails with 'uncaught C++ exception'. So the error we check depends on the compiler target.
 RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s
 
-CHECK: ERROR: libFuzzer: {{deadly signal|uncaught C++ exception}}
+CHECK: ERROR: libFuzzer: {{deadly signal|uncaught C\+\+ exception}}


        


More information about the llvm-commits mailing list