Move Config->SymbolRenaming to SymbolTable.
authorRui Ueyama <ruiu@google.com>
Mon, 25 Sep 2017 00:57:18 +0000 (00:57 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 25 Sep 2017 00:57:18 +0000 (00:57 +0000)
commitbbfe33c6bacd401e713fe12a29ae2d941a3ae4a8
treebc9691efdd9e60fbd632e20dc765837527ef113b
parent15b611d7f84a1ccbfaf062f0982b3f217561c39f
Move Config->SymbolRenaming to SymbolTable.

In order to keep track of symbol renaming, we used to have
Config->SymbolRenaming, and whether a symbol is in the map or not
affects its symbol attribute (i.e. "LinkeRedefined" bit).

This patch adds "CanInline" bit to Symbol to aggreagate symbol
information in one place and removed the member from Config since
no one except SymbolTable now uses the table.

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