[Lldb-commits] [lldb] d96ea27 - Revert "[lldb] Remove the newly-added test in 66acd1e4dc1080015fe6b234226f1d30d6577f04"
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 10 05:47:52 PST 2023
Author: David Spickett
Date: 2023-11-10T13:47:41Z
New Revision: d96ea279734fd9105a0ed7bad898ed84d79ed308
URL: https://github.com/llvm/llvm-project/commit/d96ea279734fd9105a0ed7bad898ed84d79ed308
DIFF: https://github.com/llvm/llvm-project/commit/d96ea279734fd9105a0ed7bad898ed84d79ed308.diff
LOG: Revert "[lldb] Remove the newly-added test in 66acd1e4dc1080015fe6b234226f1d30d6577f04"
This reverts commit 343eb4b4253fea31767f6a98e1cf77a7d69c856a.
This test should work now that the build script doesn't add -m(32|64) on Arm/AArch64
builders.
Added:
lldb/test/Shell/SymbolFile/DWARF/ignored_artificial_fields.test
Modified:
Removed:
################################################################################
diff --git a/lldb/test/Shell/SymbolFile/DWARF/ignored_artificial_fields.test b/lldb/test/Shell/SymbolFile/DWARF/ignored_artificial_fields.test
new file mode 100644
index 000000000000000..e7d3bc4b796224a
--- /dev/null
+++ b/lldb/test/Shell/SymbolFile/DWARF/ignored_artificial_fields.test
@@ -0,0 +1,17 @@
+# UNSUPPORTED: system-darwin, system-windows
+
+# Make sure the artifical field `vptr.ClassName` from gcc debug info is ignored.
+# RUN: %build --compiler=gcc %S/Inputs/debug-types-expressions.cpp -o %t
+# RUN: %lldb %t -s %s -o exit | FileCheck %s
+
+breakpoint set -n foo
+process launch
+
+# CHECK: Process {{.*}} stopped
+
+frame variable *a
+# CHECK-LABEL: frame variable *a
+# CHECK: (B) *a = {
+# CHECK-NEXT: A = (i = 47)
+# CHECK-NEXT: j = 42
+# CHECK-NEXT: }
More information about the lldb-commits
mailing list