From d96ea279734fd9105a0ed7bad898ed84d79ed308 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Fri, 10 Nov 2023 13:47:04 +0000 Subject: [PATCH] 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. --- .../SymbolFile/DWARF/ignored_artificial_fields.test | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lldb/test/Shell/SymbolFile/DWARF/ignored_artificial_fields.test 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 000000000000..e7d3bc4b7962 --- /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: } -- 2.11.4.GIT