summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-09-04 16:27:35 +0000
committerFangrui Song <maskray@google.com>2019-09-04 16:27:35 +0000
commit7afffb54eac8c7aedc8c24f75ccdd70b176a9d9f (patch)
treed38b9ec0c00fe264e5dc93663d7ad932fdc20e2a /lldb/packages/Python/lldbsuite/test/python_api
parent97fd582b91581f0b4cb10c77813f1a284bd69a92 (diff)
downloadbcm5719-llvm-7afffb54eac8c7aedc8c24f75ccdd70b176a9d9f.tar.gz
bcm5719-llvm-7afffb54eac8c7aedc8c24f75ccdd70b176a9d9f.zip
[ELF] Don't shrink RelrSection
Fixes PR43214. The size of SHT_RELR may oscillate between 2 numbers (see D53003 for a similar --pack-dyn-relocs=android issue). This can happen if the shrink of SHT_RELR causes it to take more words to encode relocation offsets (this can happen with thunks or segments with overlapping p_offset ranges), and the expansion of SHT_RELR causes it to take fewer words to encode relocation offsets. To avoid the issue, add padding 1s to the end of the relocation section if its size would decrease. Trailing 1s do not decode to more relocations. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D67164 llvm-svn: 370923
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud