[PATCH] D75270: [DebugInfo] Do not emit entry values for composite locations

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 01:04:33 PST 2020


djtodoro accepted this revision.
djtodoro added a comment.

In D75270#1897102 <https://reviews.llvm.org/D75270#1897102>, @vsk wrote:

> > Another alternative could be to emit a call site parameter entry for
> >  each sub-register,
>
> I believe this would complicate the debugger support significantly, hopefully there's a simpler way to do this.


+1

In D75270 <https://reviews.llvm.org/D75270>, @dstenb wrote:

> As far as I can tell GCC does not emit any
> entry values / call sites in these cases, so we do not have something to
> compare with, but the former seems like the more reasonable approach.


I think as well. What about GDB side? Did GDB expect something like this? I though just running GDB over such case could be interesting to see if it accepts such scenario or not (I should find some time to play with that for sure).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75270





More information about the llvm-commits mailing list