[PATCH] D61940: [DebugInfo] Don't always extend variable locations when the reg location is unchanging
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 07:35:12 PDT 2019
jmorse marked an inline comment as done.
jmorse added a comment.
Ping on this -- AFAIUI people believe the change is good, and depending on FrameDestroy is deployed in a separate patch.
The assumption that stack variable locations run to the end of a function, even over the frame destruction, is seen in GCC here [0]. The location for "sandal" gets "DW_AT_location (DW_OP_breg5 EBP-12)" across the whole function, including the 'leave' inst and fiddling-with-esp. I think it's fair to say we're implementing existing expectations.
(This reverse-blocks D61600 <https://reviews.llvm.org/D61600>).
[0] https://godbolt.org/z/lLJg4c
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61940/new/
https://reviews.llvm.org/D61940
More information about the llvm-commits
mailing list