search for: linenum_varmdnode

Displaying 2 results from an estimated 2 matches for "linenum_varmdnode".

2011 Oct 17
2
[LLVMdev] Variable name from metadata
...variable                         {                            MDNode *mdnode1 = (MDNode *)mdnode->getOperand(2);//mdnode1->dump() gives variable name.                            std::pair<unsigned, MDNode *> mynode( Insn->getDebugLoc().getLine(), mdnode1);                            linenum_varmdnode.push_back( mynode);                                                    //DIVariable DV(mdnode1);//not working                            //Value *v = mdnode1->getOperand(0);//, not working. gives add 0x69                                               }                      }//for operands mdnode...
2011 Oct 17
0
[LLVMdev] Variable name from metadata
...variable                         {                            MDNode *mdnode1 = (MDNode *)mdnode->getOperand(2);//mdnode1->dump() gives variable name.                            std::pair<unsigned, MDNode *> mynode( Insn->getDebugLoc().getLine(), mdnode1);                            linenum_varmdnode.push_back( mynode);                                                    //DIVariable DV(mdnode1);//not working                            //Value *v = mdnode1->getOperand(0);//, not working. gives add 0x69                                               }                      }//for operands mdnode...