diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2021-06-13 17:39:19 -0700 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2021-06-15 20:13:52 -0700 |
commit | 17bdc0ff6f2e71ae5d93ce52b2291f915055ccb6 (patch) | |
tree | 01df513c25171adef32dbb1e707432e5f5804e05 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 86906304d8cd7dcb4478283866b56ba52e1e224e (diff) | |
download | llvm-17bdc0ff6f2e71ae5d93ce52b2291f915055ccb6.zip llvm-17bdc0ff6f2e71ae5d93ce52b2291f915055ccb6.tar.gz llvm-17bdc0ff6f2e71ae5d93ce52b2291f915055ccb6.tar.bz2 |
X86: balance the frame prologue and epilogue on Win64
This was broken in ba1509da7b89c850c89f0f98afbab375794cd3c8. The Win64
frame would not perform the setup of the Swift async context parameter
but would tear down the setup in the epilogue resulting in crashes.
This ensures that we do the full setup when we do the tear down.
Although this is non-conforming to the Win64 calling convention, it
corrects the setup and exposes the actual issue that the change
introduced: incorrect frame setup.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D104246
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions