summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2025-11-17 12:44:22 +0100
committerGitHub <noreply@github.com>2025-11-17 12:44:22 +0100
commitaf45b0202cdd443beedb02392f653d8cff5bd931 (patch)
tree6ae634da3e54548a14a8bb27e8f51afeeab390cc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent550522d07e7481bf74255a014745f0f9c739ff8a (diff)
[LLD][COFF] Align EC code ranges to page boundaries (#168222)
We already ensure that code for different architectures is always placed in different pages in `assignAddresses`. We represent those ranges using their first and last chunks. However, the RVAs of those chunks may not be page-aligned, for example, due to extra padding for entry-thunk offsets. Align the chunk RVAs to the page boundary so that the emitted ranges correctly include the entire region. This change affects an existing test that checks corner cases triggered by merging a data section into a code section. We may now include such data in the code range. This differs from MSVC’s behavior, but it should not cause practical issues, and the new behavior is arguably more correct. Fixes #168119.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions