Displaying 3 results from an estimated 3 matches for "actual_obj".
2019 Nov 14
2
DW_OP_implicit_pointer design/implementation in general
...arameters by pointer/reference,
> which is then inlined, and the caller is passing local objects rather than
> other pointers/references. So:
>
>
>
> void inline_me(foo *ptr) {
>
> does something with ptr->x or *ptr;
>
> }
>
> void caller() {
>
> foo actual_obj;
>
> inline_me(&actual_obj);
>
> }
>
>
>
> After inlining, maintaining a pointer to actual_obj might be sub-optimal,
> but after a “step in” to inline_me, the user wants to look at an expression
> spelled *ptr even though the actual_obj might not have a memory ad...
2019 Nov 14
3
DW_OP_implicit_pointer design/implementation in general
On Thu, Nov 14, 2019 at 1:27 PM Adrian Prantl <aprantl at apple.com> wrote:
>
>
> > On Nov 14, 2019, at 1:21 PM, David Blaikie <dblaikie at gmail.com> wrote:
> >
> > Hey folks,
> >
> > Would you all mind having a bit of a design discussion around the
> feature both at the DWARF level and the LLVM implementation? It seems like
> what's
2019 Nov 15
4
DW_OP_implicit_pointer design/implementation in general
...arameters by pointer/reference,
> which is then inlined, and the caller is passing local objects rather than
> other pointers/references. So:
>
>
>
> void inline_me(foo *ptr) {
>
> does something with ptr->x or *ptr;
>
> }
>
> void caller() {
>
> foo actual_obj;
>
> inline_me(&actual_obj);
>
> }
>
>
>
> After inlining, maintaining a pointer to actual_obj might be sub-optimal,
> but after a “step in” to inline_me, the user wants to look at an expression
> spelled *ptr even though the actual_obj might not have a memory ad...