summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-21 18:44:06 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-21 18:44:06 +0000
commit60635e39b669713fe8d7b40bf8b4b10fb7fb34d6 (patch)
treea0a124c763e644d915844e862e6216375674137f /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parentdadc2b627d834acda6def76209db2c2001a079a9 (diff)
downloadbcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.tar.gz
bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.zip
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`. Part of PR23080. llvm-svn: 235404
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index 32adb40f5a2..29a163b8f06 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -137,7 +137,7 @@ void DwarfFile::emitStrings(const MCSection *StrSection,
bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
SmallVectorImpl<DbgVariable *> &Vars = ScopeVariables[LS];
- DIVariable DV = Var->getVariable();
+ const MDLocalVariable *DV = Var->getVariable();
// Variables with positive arg numbers are parameters.
if (unsigned ArgNum = DV->getArg()) {
// Keep all parameters in order at the start of the variable list to ensure
OpenPOWER on IntegriCloud