Open Quuxplusone opened 4 years ago
Bugzilla Link | PR44275 |
Status | NEW |
Importance | P enhancement |
Reported by | David Stenberg (david.stenberg@ericsson.com) |
Reported on | 2019-12-11 06:10:53 -0800 |
Last modified on | 2019-12-13 02:29:11 -0800 |
Version | trunk |
Hardware | PC Windows NT |
CC | david.stenberg@ericsson.com, djordje.todorovic@rt-rk.com, jdevlieghere@apple.com, jeremy.morse.llvm@gmail.com, keith.walker@arm.com, llvm-bugs@lists.llvm.org, paul_robinson@playstation.sony.com |
Fixed by commit(s) | |
Attachments | |
Blocks | PR44116 |
Blocked by | |
See also |
Is the https://reviews.llvm.org/D66746 potential quick fix for this?
Definitely, the code in LiveDebugValues::isEntryValueCandidate() could be changed to avoid the pre-existing expressions as entry values, with proper TODO marker. That will resolve this issue.
When we extend the DwarfExpression (and other places) with the support for this, we will change the part in LiveDebugValues::isEntryValueCandidate() as well.
WDYT?
(In reply to Djordje Todorovic from comment #2)
> Definitely, the code in LiveDebugValues::isEntryValueCandidate() could be
> changed to avoid the pre-existing expressions as entry values, with proper
> TODO marker. That will resolve this issue.
>
> When we extend the DwarfExpression (and other places) with the support for
> this, we will change the part in LiveDebugValues::isEntryValueCandidate() as
> well.
>
> WDYT?
That sounds good!
I'll bring D66746 back to life again, or perhaps create a new revision,
tomorrow.
Proposed quick fix to stop the failed assertion: https://reviews.llvm.org/D66746.
(In reply to David Stenberg from comment #4)
> Proposed quick fix to stop the failed assertion:
> https://reviews.llvm.org/D66746.
Landed on master as 5c7cc6f83d1f3ea2016d94e1c9cc25f814d2671b.
I do not intend on working with adding support for such entry values at the
moment at least. I did however write down some suggested changes, which I think
may be necessary to accomplish that, in the commit message.