Skip to content

Conversation

@qinkunbao
Copy link
Member

See #125924
To match a literal plus sign, it must be escaped with a backslash (\).

Created using spr 1.3.6
@llvmbot
Copy link
Member

llvmbot commented Jun 28, 2025

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Qinkun Bao (qinkunbao)

Changes

See #125924
To match a literal plus sign, it must be escaped with a backslash (\).


Full diff: https://github.com/llvm/llvm-project/pull/146190.diff

1 Files Affected:

  • (modified) compiler-rt/test/fuzzer/uncaught-exception.test (+1-1)
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}}

Copy link
Contributor

@thurstond thurstond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I didn't notice that earlier. Nice catch!

@qinkunbao qinkunbao merged commit 3923dd4 into main Jun 28, 2025
11 checks passed
@qinkunbao qinkunbao deleted the users/qinkunbao/spr/fix-uncaught-exceptiontest-3 branch June 28, 2025 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants