[Lldb-commits] [lldb] fix issue with debug-types-dwo-cross-reference.cpp.tmp test (PR #97381)
Paul Johnston via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 1 21:23:38 PDT 2024
https://github.com/pauljohnston2009 created https://github.com/llvm/llvm-project/pull/97381
None
>From e68f42344b95108eac9a83de8586b65f8bc1adef Mon Sep 17 00:00:00 2001
From: Paul Johnston <paul-johnston at zencontrol.com>
Date: Tue, 2 Jul 2024 14:19:14 +1000
Subject: [PATCH] fix issue with debug-types-dwo-cross-reference.cpp.tmp test
---
.../SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp b/lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp
index 0e29cb3e7f16e..7e96e8d3e1dd0 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp
@@ -10,7 +10,7 @@
// RUN: llvm-dwarfdump %t1.dwo -debug-types -debug-info | FileCheck --check-prefix=ONEUNIT %s
// RUN: llvm-dwarfdump %t2.dwo -debug-types -debug-info | FileCheck --check-prefix=ONEUNIT %s
// RUN: ld.lld %t1.o %t2.o -o %t
-// RUN: %lldb %t -o "target var a b **b.a" -b | FileCheck %s
+// RUN: %lldb %t -o "target var a b" -o "print **b.a" -b | FileCheck %s
// ONEUNIT-COUNT-1: DW_TAG_type_unit
@@ -18,7 +18,7 @@
// CHECK: (const B) b = {
// CHECK-NEXT: a = 0x{{.*}}
// CHECK-NEXT: }
-// CHECK: (const A) **b.a = (a = 42)
+// CHECK: (const A) (a = 42)
struct A;
More information about the lldb-commits
mailing list