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

Qinkun Bao via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 27 19:11:17 PDT 2025


https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/146190

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


>From a5adbb18f9faf260bddde6193a42e5c51ff6f365 Mon Sep 17 00:00:00 2001
From: Qinkun Bao <qinkun at google.com>
Date: Sat, 28 Jun 2025 02:11:08 +0000
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
 =?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.6
---
 compiler-rt/test/fuzzer/uncaught-exception.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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