mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
DebugInfo: Gut DISubprogram and DILexicalBlock*
Gut the `DIDescriptor` wrappers around `MDLocalScope` subclasses. Note that `DILexicalBlock` wraps `MDLexicalBlockBase`, not `MDLexicalBlock`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -82,11 +82,11 @@ void ModuleDebugInfoPrinter::print(raw_ostream &O, const Module *M) const {
|
||||
O << '\n';
|
||||
}
|
||||
|
||||
for (DISubprogram S : Finder.subprograms()) {
|
||||
O << "Subprogram: " << S.getName();
|
||||
printFile(O, S.getFilename(), S.getDirectory(), S.getLineNumber());
|
||||
if (!S.getLinkageName().empty())
|
||||
O << " ('" << S.getLinkageName() << "')";
|
||||
for (MDSubprogram *S : Finder.subprograms()) {
|
||||
O << "Subprogram: " << S->getName();
|
||||
printFile(O, S->getFilename(), S->getDirectory(), S->getLine());
|
||||
if (!S->getLinkageName().empty())
|
||||
O << " ('" << S->getLinkageName() << "')";
|
||||
O << '\n';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user