summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-10-16 23:43:27 +0000
committerReid Kleckner <rnk@google.com>2015-10-16 23:43:27 +0000
commit28e490342b570ca1f261811e98f31b52e7111cec (patch)
treeeef4a798a32aab53eb3653bf976bd9a170e3a0f6 /llvm/lib/CodeGen/StackProtector.cpp
parent02b74368ce181614741c7f5aa3a39a86df78f9af (diff)
downloadbcm5719-llvm-28e490342b570ca1f261811e98f31b52e7111cec.tar.gz
bcm5719-llvm-28e490342b570ca1f261811e98f31b52e7111cec.zip
[WinEH] Fix stack alignment in funclets and ParentFrameOffset calculation
Our previous value of "16 + 8 + MaxCallFrameSize" for ParentFrameOffset is incorrect when CSRs are involved. We were supposed to have a test case to catch this, but it wasn't very rigorous. The main effect here is that calling _CxxThrowException inside a catchpad doesn't immediately crash on MOVAPS when you have an odd number of CSRs. llvm-svn: 250583
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud