Michael137 wrote:
> Here's the test case I used: $ cat main.cpp struct A { struct { int x = 1; };
> int y = 2;6 } a;
>
> struct B { // Anonymous struct inherits another struct. struct : public A {
> int z = 3; }; int w = 4; A a; } b;
>
> return 0; // Set a breakpoint here } $ clang++ -g -O0 main.cpp $ lldb a.out
>
> Break at 'main' and step to the return statement. Then (lldb) frame var b.x
> LLDB crashes, trying to pop the empty vector.
Thanks! Agree with Pavel, lets turn this into a test-case as part of this PR.
https://github.com/llvm/llvm-project/pull/117808
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits