[LLVMdev] llvm.dbg.declare

Neal N. Wang neal.wang at gmail.com
Mon Jul 19 11:34:53 PDT 2010


Thanks, I also figured it out by inserting a lot of printing statements.  In
"cast to a {}*", what does "{}*" mean?  MDNode?

Neal

What I don't understand is

On Mon, Jul 19, 2010 at 10:03 AM, Devang Patel <devang.patel at gmail.com>wrote:

> On Sat, Jul 17, 2010 at 12:00 AM, Neal  N. Wang <neal.wang at gmail.com>
> wrote:
> > Hi folk,
> >
> > In the Source Level Debugging document,  llvm.dbg.declare takes two
> > paramters.  "The first argument is the alloca for the variable, cast to a
> > {}*. The second argument is the llvm.dbg.variable containing the
> description
> > of the variable."  The second parameter corresponds to DIVariable, what
> is
> > the corresponding LLVM class of the first parameter?    I want to find
> which
> > AllocaInst is associated with a given llvm.dbg.declare. Any suggestion?
>
> It is just a cast whose 1st operand is alloca.
> -
> Devang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100719/edda892d/attachment.html>


More information about the llvm-dev mailing list