diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-02-29 19:49:46 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-02-29 19:49:46 +0000 |
commit | fb2add2be1e00cd003c6c08d41285ca92fba5274 (patch) | |
tree | 491960ee25ef58a70188cdbad0f1a1d129876753 /lldb/source/Plugins/Language/ObjC | |
parent | bbd16815b02ca6345598b523c1b07fa814c73dd2 (diff) | |
download | bcm5719-llvm-fb2add2be1e00cd003c6c08d41285ca92fba5274.tar.gz bcm5719-llvm-fb2add2be1e00cd003c6c08d41285ca92fba5274.zip |
Fix PR26585 by improving the promotion of DBG_VALUEs to DW_AT_locations.
When a variable is described by a single DBG_VALUE instruction we can
often use a more efficient inline DW_AT_location instead of using a
location list.
This commit makes the heuristic that decides when to apply this
optimization stricter by also verifying that the DBG_VALUE is live at the
entry of the function (instead of just checking that it is valid until
the end of the function).
<rdar://problem/24611008>
llvm-svn: 262247
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC')
0 files changed, 0 insertions, 0 deletions