summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-09-05 05:30:24 +0000
committerRui Ueyama <ruiu@google.com>2019-09-05 05:30:24 +0000
commite99dc4ba572c5d1017942e9f51d7a227813e9bc1 (patch)
tree3e6ffeda41c0397bfaaadea40a590f2ab0e54e16 /lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py
parent281f2e2c37f35598766d3ffcaec2b558add14ee0 (diff)
downloadbcm5719-llvm-e99dc4ba572c5d1017942e9f51d7a227813e9bc1.tar.gz
bcm5719-llvm-e99dc4ba572c5d1017942e9f51d7a227813e9bc1.zip
Align output segments correctly
Previously, segments were aligned according to their first section's alignment requirements. That was not correct, but segments are also aligned to a page boundary, and a page boundary is usually much larger than a section alignment requirement, so no one noticed this bug before. Now, lld has --nmagic option which sets maxPageSize to 1 to effectively disable page alignment, which reveals the issue. Fixes https://bugs.llvm.org/show_bug.cgi?id=43212 Differential Revision: https://reviews.llvm.org/D67152 llvm-svn: 371013
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud