From 92bcff7dc290d75ffa921f9e5755a3d072316d03 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 10 Feb 2026 09:15:11 +0000 Subject: [PATCH] [cross-project-tests][lldb] Relax llvm::Expected check The `CHECK` for `(int)` was too strict. On macOS the type prints as: ``` 08:46:24 29: (lldb) v -T ExpectedRef 08:46:24 30: (llvm::Expected) ExpectedRef = { 08:46:24 next:14'0 X error: no match found 08:46:24 31: (std::__1::reference_wrapper::type) value = 100 08:46:24 next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:46:24 next:14'1 ? possible intended match 08:46:24 32: } 08:46:24 next:14'0 ~~ ``` --- .../debuginfo-tests/llvm-prettyprinters/lldb/expected.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/expected.test b/cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/expected.test index 3044c14662d7..6a93bedfbd4a 100644 --- a/cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/expected.test +++ b/cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/expected.test @@ -31,7 +31,7 @@ v -T ExpectedVecRef # Reference types are unwrapped from std::reference_wrapper to T. # CHECK: (lldb) v -T ExpectedRef # CHECK-NEXT: (llvm::Expected) ExpectedRef = { -# CHECK-NEXT: (int) value = 100 +# CHECK-NEXT: ({{.*}}) value = 100 # CHECK-NEXT: } # CHECK: (lldb) v -T ExpectedVec