mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +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:
@ -193,8 +193,8 @@ bool AddDiscriminators::runOnFunction(Function &F) {
|
||||
// Create a new lexical scope and compute a new discriminator
|
||||
// number for it.
|
||||
StringRef Filename = FirstDIL->getFilename();
|
||||
DIScope Scope = FirstDIL->getScope();
|
||||
DIFile File = Builder.createFile(Filename, Scope.getDirectory());
|
||||
auto *Scope = FirstDIL->getScope();
|
||||
DIFile File = Builder.createFile(Filename, Scope->getDirectory());
|
||||
|
||||
// FIXME: Calculate the discriminator here, based on local information,
|
||||
// and delete MDLocation::computeNewDiscriminator(). The current
|
||||
|
Reference in New Issue
Block a user