llvm-project/lldb/lit/SymbolFile/PDB
Aleksandr Urakov 758657e565 [PDB] Fix location retrieval for function local variables and arguments that are
stored relative to VFRAME

Summary:
This patch makes LLDB able to retrieve proper values for function arguments and
local variables stored in PDB relative to VFRAME register.

Patch contains retrieval of corresponding FPO table entries from PDB and a
generic translator from FPO programs to DWARF expressions to get correct VFRAME
value.

Patch also improves variables-locations.test and makes this test passable on
x86.

Patch By: leonid.mashinsky

Reviewers: zturner, asmith, stella.stamenova, aleksandr.urakov

Reviewed By: zturner

Subscribers: arphaman, labath, mgorny, aprantl, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D55122

llvm-svn: 352845
2019-02-01 10:01:18 +00:00
..
Inputs [PDB] Fix location retrieval for function local variables and arguments that are 2019-02-01 10:01:18 +00:00
ast-restore.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00
calling-conventions.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00
class-layout.test Attempt to fix PDB tests broken by r350924 2019-01-11 18:24:17 +00:00
compilands.test Attempt to fix PDB tests broken by r350924 2019-01-11 18:24:17 +00:00
enums-layout.test Change lldb-test to use ParseAllDebugSymbols. 2019-01-09 21:20:44 +00:00
expressions.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00
func-symbols.test Attempt to fix PDB tests broken by r350924 2019-01-11 18:24:17 +00:00
function-level-linking.test [NativePDB] Enable function-level-linking.test in native mode. 2018-12-19 20:00:25 +00:00
function-nested-block.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00
pointers.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00
type-quals.test Attempt to fix PDB tests broken by r350924 2019-01-11 18:24:17 +00:00
typedefs.test Attempt to fix PDB tests broken by r350924 2019-01-11 18:24:17 +00:00
udt-layout.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00
variables-locations.test [PDB] Fix location retrieval for function local variables and arguments that are 2019-02-01 10:01:18 +00:00
variables.test Attempt to fix PDB tests broken by r350924 2019-01-11 18:24:17 +00:00
vbases.test [PDB] Make PDB lit tests use the new builder 2018-12-05 17:35:30 +00:00