summaryrefslogtreecommitdiffstats
path: root/lld/wasm/SymbolTable.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-11-27 23:16:06 +0000
committerSam Clegg <sbc@chromium.org>2017-11-27 23:16:06 +0000
commita80d94d52b370ce714bd2f71f1f6cb40229db65b (patch)
treee2ee934e9a7fadfc92690ba25e4ffd73ddf1f28f /lld/wasm/SymbolTable.h
parent00e0df26c386a3eb5b1a4cda6b6da0117c089b45 (diff)
downloadbcm5719-llvm-a80d94d52b370ce714bd2f71f1f6cb40229db65b.tar.gz
bcm5719-llvm-a80d94d52b370ce714bd2f71f1f6cb40229db65b.zip
Rename `Symtab` private memory to avoid confusion with global `Symtab`
This is also consistent with SymVector that exists in COFF port and soon to be added to the wasm port. Split off as part of https://reviews.llvm.org/D40371 Differential Revision: https://reviews.llvm.org/D40525 llvm-svn: 319113
Diffstat (limited to 'lld/wasm/SymbolTable.h')
-rw-r--r--lld/wasm/SymbolTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/SymbolTable.h b/lld/wasm/SymbolTable.h
index 40bda318a48..89450266d89 100644
--- a/lld/wasm/SymbolTable.h
+++ b/lld/wasm/SymbolTable.h
@@ -58,7 +58,7 @@ public:
private:
std::pair<Symbol *, bool> insert(StringRef Name);
- llvm::DenseMap<llvm::CachedHashStringRef, Symbol *> Symtab;
+ llvm::DenseMap<llvm::CachedHashStringRef, Symbol *> SymMap;
};
extern SymbolTable *Symtab;
OpenPOWER on IntegriCloud