summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-01-08 22:17:42 +0000
committerRui Ueyama <ruiu@google.com>2016-01-08 22:17:42 +0000
commit131e0ffa10c35d78060f1e925aecfccfd4f7b833 (patch)
tree0febd227c0c22f4de7372eed02be2bff2290c155
parent683564ea6386c4c3fe0a2941e1e9ccbcd1bced20 (diff)
downloadbcm5719-llvm-131e0ffa10c35d78060f1e925aecfccfd4f7b833.tar.gz
bcm5719-llvm-131e0ffa10c35d78060f1e925aecfccfd4f7b833.zip
Use shorter name. NFC.
llvm-svn: 257217
-rw-r--r--lld/ELF/SymbolTable.cpp2
-rw-r--r--lld/ELF/SymbolTable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp
index bad75f7c4cc..7825e64784d 100644
--- a/lld/ELF/SymbolTable.cpp
+++ b/lld/ELF/SymbolTable.cpp
@@ -63,7 +63,7 @@ void SymbolTable<ELFT>::addFile(std::unique_ptr<InputFile> File) {
if (auto *F = dyn_cast<SharedFile<ELFT>>(FileP)) {
// DSOs are uniquified not by filename but by soname.
F->parseSoName();
- if (!IncludedSoNames.insert(F->getSoName()).second)
+ if (!SoNames.insert(F->getSoName()).second)
return;
SharedFiles.emplace_back(cast<SharedFile<ELFT>>(File.release()));
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h
index 38caa903e2d..6bd4cda4e46 100644
--- a/lld/ELF/SymbolTable.h
+++ b/lld/ELF/SymbolTable.h
@@ -90,7 +90,7 @@ private:
std::vector<std::unique_ptr<SharedFile<ELFT>>> SharedFiles;
// Set of .so files to not link the same shared object file more than once.
- llvm::DenseSet<StringRef> IncludedSoNames;
+ llvm::DenseSet<StringRef> SoNames;
};
} // namespace elf2
OpenPOWER on IntegriCloud