Finish renaming constructImportedModuleDIE to constructImportedEntityDIE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181391 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 8864baa..4b2e86a 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -612,7 +612,7 @@
return NULL;
ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);
for (ImportedEntityMap::const_iterator i = Range.first; i != Range.second; ++i)
- constructImportedModuleDIE(TheCU, i->second, ScopeDIE);
+ constructImportedEntityDIE(TheCU, i->second, ScopeDIE);
}
if (!ScopeDIE) return NULL;
@@ -782,18 +782,18 @@
if (!Module.Verify())
return;
if (DIE *D = TheCU->getOrCreateContextDIE(Module.getContext()))
- constructImportedModuleDIE(TheCU, Module, D);
+ constructImportedEntityDIE(TheCU, Module, D);
}
-void DwarfDebug::constructImportedModuleDIE(CompileUnit *TheCU, const MDNode *N,
+void DwarfDebug::constructImportedEntityDIE(CompileUnit *TheCU, const MDNode *N,
DIE *Context) {
DIImportedEntity Module(N);
if (!Module.Verify())
return;
- return constructImportedModuleDIE(TheCU, Module, Context);
+ return constructImportedEntityDIE(TheCU, Module, Context);
}
-void DwarfDebug::constructImportedModuleDIE(CompileUnit *TheCU,
+void DwarfDebug::constructImportedEntityDIE(CompileUnit *TheCU,
const DIImportedEntity &Module,
DIE *Context) {
assert(Module.Verify() &&