Displaying 1 result from an estimated 1 matches for "createcomplexvari".
2013 Aug 29
0
[LLVMdev] Allowed types llvm.dbg.declare's "storage" parameter
...yone,
I have a question about the llvm.dbg.declare instrinsic which I am using
through DIBuilder::insertDeclare(): What kind of instructions are
supported as the "storage" parameter? Is it only allocas? I've also had
some success with a combination of llvm::Argument and
DIBuilder::createComplexVariable(). That is, create a DIVariable with
one additional OpDeref and then use DIBuilder::insertDeclare(argument,
variable_info, basic_block). Is this kind of usage supported or do I
always have to use allocas to make this work reliably?
Thanks in advance,
Michael