diff options
author | Fangrui Song <maskray@google.com> | 2019-08-11 16:12:07 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-08-11 16:12:07 +0000 |
commit | 635eda8bb0fde5eae101f98586146125dbbf550c (patch) | |
tree | fa71560c0070502863bafcbd2a968a07dcc346f9 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | e812bf5530872e4b33c8f205da81acccc2a41413 (diff) | |
download | llvm-635eda8bb0fde5eae101f98586146125dbbf550c.zip llvm-635eda8bb0fde5eae101f98586146125dbbf550c.tar.gz llvm-635eda8bb0fde5eae101f98586146125dbbf550c.tar.bz2 |
[ELF] Remove redundant !isPreemptible in Symbol::computeBinding()
!isPreemptible was added in r343668 to fix PR39104: symbols redefined by
replaceWithDefined() might be incorrectly considered STB_LOCAL if a
version script specified `local: *;`.
After r367869 (`config->defaultSymbolVersion` was removed), we will
assign VER_NDX_LOCAL to only regular Defined and CommonSymbol, not
Defined created by replaceWithDefined() (because scanVersionScript() is
called before scanRelocations()). The !isPreemptible is thus redundant
and can be deleted.
llvm-svn: 368535
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions