Pass symbol attributes instead of ElfSym to Shared symbol ctor.
authorRui Ueyama <ruiu@google.com>
Sat, 28 Oct 2017 20:15:56 +0000 (20:15 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 28 Oct 2017 20:15:56 +0000 (20:15 +0000)
commit7f9694a42dacbf70e07f9a7d8f0f6564687884ad
treeba98c49869be2076a503b8c6a3855a44a060004b
parent40f0584f081883d0fd8a994b4038a41239105b6e
Pass symbol attributes instead of ElfSym to Shared symbol ctor.

This change allows us to use less templates for Shared symbol and
the functions that deals with shared symbols.

llvm-svn: 316841
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/MapFile.cpp
lld/ELF/MapFile.h
lld/ELF/Relocations.cpp
lld/ELF/SymbolTable.cpp
lld/ELF/SymbolTable.h
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h
lld/ELF/SyntheticSections.cpp
lld/ELF/Writer.cpp