search for: debeginfo

Displaying 3 results from an estimated 3 matches for "debeginfo".

Did you mean: dbginfo
2013 Nov 02
4
[LLVMdev] get function local debug info?
...DIArray Vars = SP.getVariables(); for (unsigned i2 = 0, e2 = Vars.getNumElements(); i2 != e2; ++i2) { DIVariable DV(Vars.getElement(i)); DV.print(errs()); errs() << " : "; DV.getType().dump(); } } } In addition, can I use DebegInfo to get the list of parameters (var names and types) of a subprogram? or I have to parse the underlying metadata and build the relationship? Thanks, Lu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2013110...
2013 Nov 03
0
[LLVMdev] get function local debug info?
...iables(); > for (unsigned i2 = 0, e2 = Vars.getNumElements(); i2 != e2; ++i2) { > DIVariable DV(Vars.getElement(i)); > DV.print(errs()); errs() << " : "; DV.getType().dump(); > } > } > } > > In addition, can I use DebegInfo to get the list of parameters (var names > and types) of a subprogram? or I have to parse the underlying metadata and > build the relationship? > Basically this /\. We use the variables list (the getVariables function you mentioned) to persist the variables in optimized (above -O0) builds...
2013 Nov 03
0
[LLVMdev] get function local debug info?
...(); i2 != e2; >>> ++i2) { >>> DIVariable DV(Vars.getElement(i)); >>> DV.print(errs()); errs() << " : "; DV.getType().dump(); >>> } >>> } >>> } >>> >>> In addition, can I use DebegInfo to get the list of parameters (var >>> names and types) of a subprogram? or I have to parse the underlying >>> metadata and build the relationship? >>> >> >> Basically this /\. We use the variables list (the getVariables function >> you mentioned) to pe...