mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-15 22:25:31 +00:00
DebugInfo: Gut DIScope, DIEnumerator and DISubrange
The only class the still has API left is `DIDescriptor` itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -362,9 +362,9 @@ static void printDebugLoc(DebugLoc DL, raw_ostream &CommentOS,
|
||||
if (!DL)
|
||||
return;
|
||||
|
||||
DIScope Scope = cast<MDScope>(DL.getScope());
|
||||
auto *Scope = cast<MDScope>(DL.getScope());
|
||||
// Omit the directory, because it's likely to be long and uninteresting.
|
||||
CommentOS << Scope.getFilename();
|
||||
CommentOS << Scope->getFilename();
|
||||
CommentOS << ':' << DL.getLine();
|
||||
if (DL.getCol() != 0)
|
||||
CommentOS << ':' << DL.getCol();
|
||||
|
Reference in New Issue
Block a user