Iterate over SymVector instead of Symtab hash table.
authorRui Ueyama <ruiu@google.com>
Mon, 18 Jul 2016 01:34:57 +0000 (01:34 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 18 Jul 2016 01:34:57 +0000 (01:34 +0000)
commitd6328526ba3f63d49dae9fe5317e30e61bacfaea
tree483ac6e71416cec8b1ba5e54bbdde68af325ed1f
parent03e29a29646843081c403cf036578411502d1b8f
Iterate over SymVector instead of Symtab hash table.

SymVector contains all symbols, so we can iterate either Symtab or SymVector
to visit all symbols. Iterating over SymVector makes the next change for
--trace-symbol possible.

llvm-svn: 275746
lld/ELF/SymbolTable.cpp