[ELF] - Refactor lazy symbol duplicated code.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 24 Apr 2018 09:41:56 +0000 (09:41 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 24 Apr 2018 09:41:56 +0000 (09:41 +0000)
commit19f9b814ddb01f6922fd47aa6066446aff3b9575
tree7eaf2b13072be461d5880ce324ff7ecb2e719a39
parent822602a75e29dc945f098f27128171ed13df9d62
[ELF] - Refactor lazy symbol duplicated code.

Our code for LazyObject and LazyArchive duplicates.

This patch extracts the common part to remove
the duplication.

Differential revision: https://reviews.llvm.org/D45516

llvm-svn: 330701
lld/ELF/SymbolTable.cpp
lld/ELF/Symbols.h