[Lldb-commits] [lldb] [LLDB] Fix crash in TypeSystemClang::GetIndexofChildMemberWithName. (PR #117808)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 4 02:38:28 PST 2024


================
@@ -0,0 +1,19 @@
+struct A {
+  struct {
+    int x = 1;
+  };
+  int y = 2;
+} a;
+
+struct B {
+  // Anonymous struct inherits another struct.
+  struct : public A {
+    int z = 3;
+  };
+  int w = 4;
----------------
Michael137 wrote:

Are `w` and `a` necessary for the reproducer?

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


More information about the lldb-commits mailing list