[Lldb-commits] [lldb] [lldb][test] Add tests for alignof on class with overlapping bases (PR #97068)
David Blaikie via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 28 09:00:01 PDT 2024
================
@@ -0,0 +1,30 @@
+// XFAIL: *
+
+// RUN: %clangxx_host -gdwarf -o %t %s
+// RUN: %lldb %t \
+// RUN: -o "expr alignof(OverlappingDerived)" \
+// RUN: -o "expr sizeof(OverlappingDerived)" \
+// RUN: -o exit | FileCheck %s
+
+// CHECK: (lldb) expr alignof(OverlappingDerived)
+// CHECK-NEXT: ${{.*}} = 4
----------------
dwblaikie wrote:
Might be nice to put the checks next to the static_asserts?
https://github.com/llvm/llvm-project/pull/97068
More information about the lldb-commits
mailing list