summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-01-22 23:51:35 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-01-22 23:51:35 +0000
commit342611114580412d814ae435e1d1b37be22f86e8 (patch)
treebe9da1f9b94ef2bc3a9eb0c35b387e1941e0287e /lldb/packages/Python/lldbsuite/test/lldbtest.py
parent881cae7a4576c477d38da864bc97ceaed2484617 (diff)
downloadbcm5719-llvm-342611114580412d814ae435e1d1b37be22f86e8.tar.gz
bcm5719-llvm-342611114580412d814ae435e1d1b37be22f86e8.zip
COFF, ELF: Adjust ICF hash computation to account for self relocations.
It turns out that sections in PGO instrumented object files on Windows contain a large number of relocations pointing to themselves. With r347429 this can cause many sections to receive the same hash (usually zero) as a result of a section's hash being xor'ed with itself. This patch causes the COFF and ELF linkers to avoid this problem by adding the hash of the relocated section instead of xor'ing it. On my machine this causes the regressing test case provided by Mozilla to terminate in 2m41s. Differential Revision: https://reviews.llvm.org/D56955 llvm-svn: 351898
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud