aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2021-06-13 17:39:19 -0700
committerSaleem Abdulrasool <compnerd@compnerd.org>2021-06-15 20:13:52 -0700
commit17bdc0ff6f2e71ae5d93ce52b2291f915055ccb6 (patch)
tree01df513c25171adef32dbb1e707432e5f5804e05 /llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
parent86906304d8cd7dcb4478283866b56ba52e1e224e (diff)
downloadllvm-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 'llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp')
0 files changed, 0 insertions, 0 deletions