Displaying 2 results from an estimated 2 matches for "belngs".
Did you mean:
belongs
2018 Sep 19
2
Obtaining the origin function for a local var after inlining
On Tue, Sep 18, 2018 at 1:56 AM Adrian Prantl <aprantl at apple.com> wrote:
>
>
>
> > On Sep 17, 2018, at 6:59 AM, Alexander Potapenko via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> >
> > (I think I've asked a similar question off-list a couple of times, but
> > never got an answer)
> >
> > Hi folks,
> >
> > For [K]MSAN
2018 Sep 25
1
Obtaining the origin function for a local var after inlining
...on prologue and the DILocation assigned to it is almost meaningless because it won't (directly) get generated into any code that could be associated with a dbeug line table entry. The second reason is that it could be that the dbg.declare is inlined and describing an sret value where the alloca belngs to the call site's stack frame.
>
> > Right now one needs to build a mapping between AllocaInst and
> > llvm.dbg.declare() in order to get the debug info for the allocation.
>
> No, you can just call llvm::findDbgUsers() to find any debug intrinsics referring to any llvm::I...