[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

Zequan Wu via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 3 16:46:54 PST 2025


================
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion) {
   AddField(s2, "m4", 2, 4, Member::Field);
   EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record));
 }
+
+TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) {
+  SetKind(Member::Kind::Union);
----------------
ZequanWu wrote:

Is this testing this change? This change only changed the behaviour when the root record is a struct. 

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


More information about the lldb-commits mailing list