[PATCH] D83462: [DWARF] Avoid entry_values production for SCE

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 14:01:07 PDT 2020


probinson added a comment.

In D83462#2142036 <https://reviews.llvm.org/D83462#2142036>, @echristo wrote:

> So the tuning here for SCE is also a "does not support" or something else?


I'm told our debugger currently does not support the entry-value opcode.  Locations with that opcode would be dropped/ignored (presumably just the individual location-list elements, although I haven't verified).

I am nudging our folks in the direction of supporting it, but need to demonstrate value first; that the additional location descriptions increase availability, and that the expressions can be evaluated usefully.  I have to say a few preliminary experiments don't make me feel too positive about that second part, as the entry-value expressions tend to rely on registers that aren't saved by the ABI, so unwinding won't recover them.

In the meantime I'd prefer that they weren't emitted. for the usual size reasons.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83462/new/

https://reviews.llvm.org/D83462





More information about the llvm-commits mailing list