summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-01-11 06:57:01 +0000
committerShoaib Meenai <smeenai@fb.com>2018-01-11 06:57:01 +0000
commitd79bbf4474d52ca2dd6c87b0b51fb4d819f65c9c (patch)
tree2be1bc97b010a009a16abaef533f1b28a42761e7 /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py
parentbb9c6fc3bce245fec88ead7fbe3bda93646c2add (diff)
downloadbcm5719-llvm-d79bbf4474d52ca2dd6c87b0b51fb4d819f65c9c.tar.gz
bcm5719-llvm-d79bbf4474d52ca2dd6c87b0b51fb4d819f65c9c.zip
[ELF] Fix SysV hash tables with --no-rosegment
When setting up the chain, we copy over the bucket's previous symbol index, assuming that this index will be 0 (STN_UNDEF) for an unused bucket (marking the end of the chain). When linking with --no-rosegment, however, unused buckets will in fact contain the padding value, and so the hash table will end up containing invalid chains. Zero out the hash table section explicitly to avoid this, similar to what's already done for GNU hash sections. Differential Revision: https://reviews.llvm.org/D41928 llvm-svn: 322259
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud