Thanks, I also figured it out by inserting a lot of printing statements.  In "cast to a {}*", what does "{}*" mean?  MDNode? <br><br>Neal<br><br>What I don't understand is<br><br><div class="gmail_quote">
On Mon, Jul 19, 2010 at 10:03 AM, Devang Patel <span dir="ltr"><<a href="mailto:devang.patel@gmail.com">devang.patel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Sat, Jul 17, 2010 at 12:00 AM, Neal  N. Wang <<a href="mailto:neal.wang@gmail.com">neal.wang@gmail.com</a>> wrote:<br>
> Hi folk,<br>
><br>
> In the Source Level Debugging document,  llvm.dbg.declare takes two<br>
> paramters.  "The first argument is the alloca for the variable, cast to a<br>
> {}*. The second argument is the llvm.dbg.variable containing the description<br>
> of the variable."  The second parameter corresponds to DIVariable, what is<br>
> the corresponding LLVM class of the first parameter?    I want to find which<br>
> AllocaInst is associated with a given llvm.dbg.declare. Any suggestion?<br>
<br>
</div></div>It is just a cast whose 1st operand is alloca.<br>
-<br>
<font color="#888888">Devang<br>
</font></blockquote></div><br>