summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-05-08 06:01:38 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-05-08 06:01:38 +0000
commitd1221e377d8e37e41539ed9f36b60b4cd48b6988 (patch)
tree21f62b053e1030102b4d7619977814e439f47700 /lib/CodeGen
parent9c57ad2381488b7cde7e3eb459d2ce3e447e93b7 (diff)
downloadllvm-d1221e377d8e37e41539ed9f36b60b4cd48b6988.tar.gz
llvm-d1221e377d8e37e41539ed9f36b60b4cd48b6988.tar.bz2
llvm-d1221e377d8e37e41539ed9f36b60b4cd48b6988.tar.xz
Finish renaming constructImportedModuleDIE to constructImportedEntityDIE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp10
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 8864baa5c2..4b2e86a3da 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -612,7 +612,7 @@ DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
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 @@ void DwarfDebug::constructImportedEntityDIE(CompileUnit *TheCU,
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() &&
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 46b4585bbd..b36b763720 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -563,11 +563,11 @@ private:
void constructImportedEntityDIE(CompileUnit *TheCU, const MDNode *N);
/// \brief Construct import_module DIE.
- void constructImportedModuleDIE(CompileUnit *TheCU, const MDNode *N,
+ void constructImportedEntityDIE(CompileUnit *TheCU, const MDNode *N,
DIE *Context);
/// \brief Construct import_module DIE.
- void constructImportedModuleDIE(CompileUnit *TheCU,
+ void constructImportedEntityDIE(CompileUnit *TheCU,
const DIImportedEntity &Module,
DIE *Context);