mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`. Part of PR23080. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -670,7 +670,7 @@ static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
raw_svector_ostream OS(Str);
|
||||
OS << "DEBUG_VALUE: ";
|
||||
|
||||
DIVariable V = MI->getDebugVariable();
|
||||
const MDLocalVariable *V = MI->getDebugVariable();
|
||||
if (auto *SP = dyn_cast<MDSubprogram>(V->getScope())) {
|
||||
StringRef Name = SP->getDisplayName();
|
||||
if (!Name.empty())
|
||||
@@ -678,7 +678,7 @@ static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
}
|
||||
OS << V->getName();
|
||||
|
||||
DIExpression Expr = MI->getDebugExpression();
|
||||
const MDExpression *Expr = MI->getDebugExpression();
|
||||
if (Expr->isBitPiece())
|
||||
OS << " [bit_piece offset=" << Expr->getBitPieceOffset()
|
||||
<< " size=" << Expr->getBitPieceSize() << "]";
|
||||
|
Reference in New Issue
Block a user