search for: allsubprogram

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

Did you mean: allsubprograms
2011 Oct 28
3
[LLVMdev] DIBuilder - what's with the null compile units?
...; Yet despite this, the second-to-last parameter for DW_TAG_subprogram > metadata is in fact null in the module dissassembly. > > So essentially I am completely stumped. > > > If you're using DIBuilder to create your subprogram then you'll see that it > puts new node in AllSubprograms. > > // Create a named metadata so that we do not lose this mdnode. > > > 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...
2011 Oct 28
0
[LLVMdev] DIBuilder - what's with the null compile units?
...t;> Yet despite this, the second-to-last parameter for DW_TAG_subprogram metadata is in fact null in the module dissassembly. >> >> So essentially I am completely stumped. > > If you're using DIBuilder to create your subprogram then you'll see that it puts new node in AllSubprograms. > > // Create a named metadata so that we do not lose this mdnode. > AllSubprograms.push_back(Node); > > And follow AllSubprograms in DIBuilder::finalize() > &gt...
2011 Oct 24
0
[LLVMdev] DIBuilder - what's with the null compile units?
...been called. > > Yet despite this, the second-to-last parameter for DW_TAG_subprogram metadata is in fact null in the module dissassembly. > > So essentially I am completely stumped. If you're using DIBuilder to create your subprogram then you'll see that it puts new node in AllSubprograms. // Create a named metadata so that we do not lose this mdnode. AllSubprograms.push_back(Node); And follow AllSubprograms in DIBuilder::finalize() - Devang -------------- next par...
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