aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ModuleSymbolTable.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-03-19 23:04:13 +0000
committerRui Ueyama <ruiu@google.com>2018-03-19 23:04:13 +0000
commitba32e739b2c18d4f4a10d453e81e76852e0f5c25 (patch)
treef350786582a3a0fb60b7c9693413172591151732 /llvm/lib/Object/ModuleSymbolTable.cpp
parent048a669b92604266a5be28eda58608882fb46dd6 (diff)
downloadllvm-ba32e739b2c18d4f4a10d453e81e76852e0f5c25.zip
llvm-ba32e739b2c18d4f4a10d453e81e76852e0f5c25.tar.gz
llvm-ba32e739b2c18d4f4a10d453e81e76852e0f5c25.tar.bz2
Remove GnuHashTableSection::getShift2().
Choosing a Shift2 value based on wordsize is cargo-culted from gold. Assuming that djb hash is a good hash function, choosing bits [4,9] shouldn't be any worse or better than choosing bits [5,10]. We shouldn't have copied that behavior that we can't justify in the first place. Differential Revision: https://reviews.llvm.org/D44547 llvm-svn: 327921
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions