aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorPengfei Wang <pengfei.wang@intel.com>2019-08-27 01:53:24 +0000
committerPengfei Wang <pengfei.wang@intel.com>2019-08-27 01:53:24 +0000
commit564fb58a32a808c34d809820d00e2f23c0307a71 (patch)
treedeba7fd2777de50c7acc0c0c6fca36bbfcfd9514 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent6a808d5a8399557aad9ad1c91c9d2336771be24f (diff)
downloadllvm-564fb58a32a808c34d809820d00e2f23c0307a71.zip
llvm-564fb58a32a808c34d809820d00e2f23c0307a71.tar.gz
llvm-564fb58a32a808c34d809820d00e2f23c0307a71.tar.bz2
[WinEH] Allocate space in funclets stack to save XMM CSRs
Summary: This is an alternate approach to D63396 Currently funclets reuse the same stack slots that are used in the parent function for saving callee-saved xmm registers. If the parent function modifies a callee-saved xmm register before an excpetion is thrown, the catch handler will overwrite the original saved value. This patch allocates space in funclets stack for saving callee-saved xmm registers and uses RSP instead RBP to access memory. Signed-off-by: Pengfei Wang <pengfei.wang@intel.com> Reviewers: rnk, RKSimon, craig.topper, annita.zhang, LuoYuanke, andrew.w.kaylor Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66596 Signed-off-by: Pengfei Wang <pengfei.wang@intel.com> llvm-svn: 370005
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions