[LLVMdev] llvm.dbg.declare
Devang Patel
devang.patel at gmail.com
Mon Jul 19 10:03:02 PDT 2010
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
More information about the llvm-dev
mailing list