Fix the build from the last commit
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 07:08:12 +0000 (07:08 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 07:08:12 +0000 (07:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221089 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp

index d381dd4..b925929 100644 (file)
@@ -810,8 +810,8 @@ void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute,
   Die.addValue(Attribute, Form, Value);
 }
 
-void DwarfUnit::applyVariableAttributes(const DbgVariable &Var,
-                                        DIE &VariableDie) {
+void DwarfCompileUnit::applyVariableAttributes(const DbgVariable &Var,
+                                               DIE &VariableDie) {
   StringRef Name = Var.getName();
   if (!Name.empty())
     addString(VariableDie, dwarf::DW_AT_name, Name);