diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-04-24 18:11:42 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-04-24 18:11:42 +0000 |
commit | f2c7997013501010c72ec7d3d2d346ac1a0f875c (patch) | |
tree | f5b933d88877a2c280c1dcb6c98dffacce6de944 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py | |
parent | 283833d022705252ca43e9a2d24eebabd43fe213 (diff) | |
download | bcm5719-llvm-f2c7997013501010c72ec7d3d2d346ac1a0f875c.tar.gz bcm5719-llvm-f2c7997013501010c72ec7d3d2d346ac1a0f875c.zip |
Use DW_OP_stack_value when reconstructing variable values with arithmetic.
When the location description of a source variable involves arithmetic
on the value itself, it needs to be marked with DW_OP_stack_value since it
is not describing the variable's location, but rather its value.
This is a follow-up to r297971 and fixes the source testcase quoted in
the comment in debuginfo-dce.ll.
rdar://problem/30725338
This reapplies r301093 without modifications.
llvm-svn: 301210
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions