aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2021-01-25 10:26:51 -0800
committerReid Kleckner <rnk@google.com>2021-01-25 10:39:27 -0800
commit988a5334ed40ee65c91bf30be93631b092316390 (patch)
treefbdcc5d4b0187c694252bf8328c3ca2b28528a8f /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentc8fc5c0385dbb47623c1cca5efa0b96d5e5f8151 (diff)
downloadllvm-988a5334ed40ee65c91bf30be93631b092316390.zip
llvm-988a5334ed40ee65c91bf30be93631b092316390.tar.gz
llvm-988a5334ed40ee65c91bf30be93631b092316390.tar.bz2
[Win64] Ensure all stack frames are 8 byte aligned
The unwind info format requires that all adjustments are 8 byte aligned, and the bottom three bits are masked out. Most Win64 calling conventions have 32 bytes of shadow stack space for spilling parameters, and I believe that constructing these fixed stack objects had the side effect of ensuring an alignment of 8. However, the Intel regcall convention does not have this shadow space, so when using that convention, it was possible to make a 4 byte stack frame, which was impossible to describe with unwind info. Fixes pr48867
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions