https://github.com/JDevlieghere commented:
I quickly looked at the private parts of the change. I had a slightly different design in mind, which I pitched to Ismail in person this morning. I created a quick sequence diagram to show it in action. <img width="2164" height="3536" alt="Image" src="https://github.com/user-attachments/assets/44027111-659e-45af-be41-c81c819d6003" /> Here, we start by asking for the synthetic frame at index 3. The synthetic stack frame list realizes it has no frames, so it queries the stack frame provider. The latter adds 3 frames to the synthetic stack frame list. When next we get a call for frame 2, we don't have to query the provider, since we already have that stack frame. However, when asking for the frame at index 4, we have to query the provider again, and it populates the synthetic stack frame list with a fourth frame. https://github.com/llvm/llvm-project/pull/161870 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
