[Lldb-commits] [lldb] fix issue with debug-types-dwo-cross-reference.cpp.tmp test (PR #97381)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 1 21:24:22 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Paul Johnston (pauljohnston2009)

<details>
<summary>Changes</summary>

fixes issue from https://github.com/llvm/llvm-project/issues/97380

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


1 Files Affected:

- (modified) lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp (+2-2) 


``````````diff
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;
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/97381


More information about the lldb-commits mailing list