summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-12-18 19:28:59 +0000
committerTeresa Johnson <tejohnson@google.com>2015-12-18 19:28:59 +0000
commitbef543635a26ebe96b59a7d3babf344ed264ed9c (patch)
treef0a4f39def01724651ffce990eac4d11240b9e1d /llvm/lib/Linker/LinkModules.cpp
parent9a8b5e7ece3aa278355966bef0456a3523dd5211 (diff)
downloadbcm5719-llvm-bef543635a26ebe96b59a7d3babf344ed264ed9c.tar.gz
bcm5719-llvm-bef543635a26ebe96b59a7d3babf344ed264ed9c.zip
Rename variables to reflect linker split (NFC)
Renamed variables to be more reflective of whether they are an instance of Linker, IRLinker or ModuleLinker. Also fix a stale comment. llvm-svn: 256011
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 556251092a2..e866461cf9a 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -803,14 +803,14 @@ bool Linker::linkInModule(std::unique_ptr<Module> Src, unsigned Flags,
const FunctionInfoIndex *Index,
DenseSet<const GlobalValue *> *FunctionsToImport,
DenseMap<unsigned, MDNode *> *ValIDToTempMDMap) {
- ModuleLinker TheLinker(Mover, *Src, Flags, Index, FunctionsToImport,
+ ModuleLinker ModLinker(Mover, *Src, Flags, Index, FunctionsToImport,
ValIDToTempMDMap);
- return TheLinker.run();
+ return ModLinker.run();
}
bool Linker::linkInModuleForCAPI(Module &Src) {
- ModuleLinker TheLinker(Mover, Src, 0, nullptr, nullptr);
- return TheLinker.run();
+ ModuleLinker ModLinker(Mover, Src, 0, nullptr, nullptr);
+ return ModLinker.run();
}
bool Linker::linkInMetadata(Module &Src,
OpenPOWER on IntegriCloud