Skip to content

Fix uncaught-exception.test. #146190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2025

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
rlavaee pushed a commit to rlavaee/llvm-project that referenced this pull request Jul 1, 2025
See llvm#125924
To match a literal plus sign, it must be escaped with a backslash (`\`).
rlavaee pushed a commit to rlavaee/llvm-project that referenced this pull request Jul 1, 2025
See llvm#125924
To match a literal plus sign, it must be escaped with a backslash (`\`).
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.

3 participants