mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +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:
@ -24,9 +24,9 @@ StringRef WinCodeViewLineTables::getFullFilepath(const MDNode *S) {
|
||||
isa<MDLexicalBlockBase>(S)) &&
|
||||
"Unexpected scope info");
|
||||
|
||||
DIScope Scope = cast<MDScope>(S);
|
||||
StringRef Dir = Scope.getDirectory(),
|
||||
Filename = Scope.getFilename();
|
||||
auto *Scope = cast<MDScope>(S);
|
||||
StringRef Dir = Scope->getDirectory(),
|
||||
Filename = Scope->getFilename();
|
||||
char *&Result = DirAndFilenameToFilepathMap[std::make_pair(Dir, Filename)];
|
||||
if (Result)
|
||||
return Result;
|
||||
|
Reference in New Issue
Block a user