summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorHarald van Dijk <harald.vandijk@codeplay.com>2025-04-18 02:11:02 +0100
committerGitHub <noreply@github.com>2025-04-18 02:11:02 +0100
commitca9ec7dfc3a5ebad9e5c25b30511b2ed73287f61 (patch)
tree6bf93fab7de49712aa6fca285c34d8787cf72150 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent1dbc8ef5538e25f61664d807fda236f7d983cc69 (diff)
[ARM, AArch64] Fix passing of structures with aligned base classes (#135564)
RecordLayout::UnadjustedAlignment was documented as "Maximum of the alignments of the record members in characters", but RecordLayout::getUnadjustedAlignment(), which just returns UnadjustedAlignment, was documented as getting "the record alignment in characters, before alignment adjustement." These are not the same thing: the former excludes alignment of base classes, the latter takes it into account. ItaniumRecordLayoutBuilder::LayoutBase was setting it according to the former, but the AAPCS calling convention handling, currently the only user, relies on it being set according to the latter. Fixes #135551.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions