[Lldb-commits] [PATCH] D53086: [PDB] Fix flaky `variables-locations.test` after PR38857

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 12 01:04:24 PDT 2018


aleksandr.urakov added a comment.

In https://reviews.llvm.org/D53086#1263002, @zturner wrote:

> Do we have access to the current instruction pointer?  That's what you need to find the correct FPO record.


No, it seems that we haven't. But if there's the only one `S_DEFRANGE_FRAMEPOINTER_REL` for variable, then there must be the only one definition of `VFRAME` for the variable's range, and then I think we can safely search the required FPO data by intersection with the variable's scope range. I'll try to implement this, thanks!


https://reviews.llvm.org/D53086





More information about the lldb-commits mailing list