aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2021-07-21 15:39:42 -0400
committerJohn McCall <rjmccall@apple.com>2021-07-21 15:47:18 -0400
commit326a5a2658d81db46a78b184fe42e522ef170f32 (patch)
tree219ddf79c93c83b67f09bf6732d37709b38221f9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parent9643d11e1d7f918c0e5184c9488935720d591c90 (diff)
downloadllvm-326a5a2658d81db46a78b184fe42e522ef170f32.zip
llvm-326a5a2658d81db46a78b184fe42e522ef170f32.tar.gz
llvm-326a5a2658d81db46a78b184fe42e522ef170f32.tar.bz2
Fix a bug in OptimizedStructLayout when filling gaps before
fixed fields with highly-aligned flexible fields. The code was not considering the possibility that aligning the current offset to the alignment of a queue might push us past the end of the gap. Subtracting the offsets to figure out the maximum field size for the gap then overflowed, making us think that we had nearly unbounded space to fill. Fixes PR 51131.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions