[llvm-bugs] [Bug 26585] DBG_VALUE is accidentally promoted to location for the entire function
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 29 11:50:21 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26585
Adrian Prantl <aprantl at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Adrian Prantl <aprantl at apple.com> ---
Fixed in r262247:
Author: Adrian Prantl <aprantl at apple.com>
Date: Mon Feb 29 11:53:22 2016 -0800
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>
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160229/5158b713/attachment.html>
More information about the llvm-bugs
mailing list