Displaying 1 result from an estimated 1 matches for "digv".
Did you mean:
dig
2017 May 22
2
DebugInfo, Metadata usage
...my little research was not successful.
my code excerpt:
DebugInfoFinder DIFinder;
DIFinder.processModule(*M);
llvm::outs() << "Count of global Variables in Module : " <<
DIFinder.global_variable_count() << "\n";
for(DIGlobalVariableExpression *DIGVExpr : DIFinder.global_variables())
{
if(DIGlobalVariable *DIGV = DIGVExpr->getVariable())
{
llvm::outs() << "DIGV DisplayName : " <<
DIGV->getDisplayName() << "\n";
}
}
for(DIType *DIT : DIFinder.types())...