search for: getfnspecificmdnod

Displaying 4 results from an estimated 4 matches for "getfnspecificmdnod".

Did you mean: getfnspecificmdnode
2011 Oct 28
3
[LLVMdev] DIBuilder - what's with the null compile units?
...> AllSubprograms.push_back(Node); > > And follow AllSubprograms in DIBuilder::finalize() > > I traced through the code in DIBuilder::finalize(): *for* (*unsigned* i = 0, e = SPs.getNumElements(); i != e; ++i) { DISubprogram SP(SPs.getElement(i)); *if* (NamedMDNode *NMD = getFnSpecificMDNode(M, SP)) { SmallVector<Value *, 4> Variables; *for* (*unsigned* ii = 0, ee = NMD->getNumOperands(); ii != ee; ++ii) It looks as if getFnSpecificMDNode() is always returning NULL in my case - the body of the if statement never gets executed. > -- -- Talin --------------...
2011 Oct 28
0
[LLVMdev] DIBuilder - what's with the null compile units?
...Subprograms.push_back(Node); > > And follow AllSubprograms in DIBuilder::finalize() > > I traced through the code in DIBuilder::finalize(): > for (unsigned i = 0, e = SPs.getNumElements(); i != e; ++i) { > DISubprogram SP(SPs.getElement(i)); > if (NamedMDNode *NMD = getFnSpecificMDNode(M, SP)) { > SmallVector<Value *, 4> Variables; > for (unsigned ii = 0, ee = NMD->getNumOperands(); ii != ee; ++ii) > > It looks as if getFnSpecificMDNode() is always returning NULL in my case - the body of the if statement never gets executed. The two lines abov...
2011 Oct 24
0
[LLVMdev] DIBuilder - what's with the null compile units?
On Oct 23, 2011, at 12:03 AM, Talin wrote: > Just a follow up on this - I am still having problems, I never did figure out a solution. (I've been running with debug off for the last month so that I could get work done.) > > Here's what I am seeing: I am definitely calling DIBuilder::finalize(). I even put a debug print statement right after it, so that I could be sure that the
2011 Oct 23
2
[LLVMdev] DIBuilder - what's with the null compile units?
Just a follow up on this - I am still having problems, I never did figure out a solution. (I've been running with debug off for the last month so that I could get work done.) Here's what I am seeing: I am definitely calling DIBuilder::finalize(). I even put a debug print statement right after it, so that I could be sure that the code was being executed. I also insured that it was getting