summaryrefslogtreecommitdiff
path: root/lld/ELF/SymbolTable.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-04-03 18:01:18 +0000
committerRui Ueyama <ruiu@google.com>2018-04-03 18:01:18 +0000
commit43842f6ce93fffc4e3ae3527854f59ae6b10f500 (patch)
treea646e74b6b614dae196bce6959fccb752c8c8110 /lld/ELF/SymbolTable.h
parent2a5a14fc99f550244c71e35aaf3349b96eae8bee (diff)
Make fetchIfLazy only fetch an object file. NFC.
Previously, fetchIfLazy did more than the name says. Now, setting to UsedInRegularObj is moved to another function.
Diffstat (limited to 'lld/ELF/SymbolTable.h')
-rw-r--r--lld/ELF/SymbolTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h
index ad8b3eff45d..5e6d44dfe4f 100644
--- a/lld/ELF/SymbolTable.h
+++ b/lld/ELF/SymbolTable.h
@@ -77,7 +77,7 @@ public:
uint8_t Visibility, bool CanOmitFromDynSym,
InputFile *File);
- InputFile *fetchIfLazy(Symbol *Sym);
+ template <class ELFT> void fetchLazy(Symbol *Sym);
void scanVersionScript();