[LLVMdev] debug calls

Devang Patel dpatel at apple.com
Tue May 24 11:41:33 PDT 2011


On May 24, 2011, at 8:27 AM, George Baah wrote:

> Hi All,
>   Is there a way to detect metadata functions like
> call void @llvm.dbg.declare(metadata !{i32* %g}, metadata !35), !dbg !37

One obvious way is to walk IR and check for function calls that use metadata as an operand.
What are you trying to do ?
-
Devang



More information about the llvm-dev mailing list