[WinEH] Fix establisher param reg in CLR funclets
authorJoseph Tremoulet <jotrem@microsoft.com>
Thu, 5 Nov 2015 02:20:07 +0000 (02:20 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Thu, 5 Nov 2015 02:20:07 +0000 (02:20 +0000)
commitb0d280a58878b855dacbc1848d220fed4484b708
tree864bfbd562b024082801c221357614615410eb5b
parent4ae094a8512df6cdb6d3f8f17ef2565b8f9cd7e5
[WinEH] Fix establisher param reg in CLR funclets

Summary:
The CLR's personality routine passes the pointer to the establisher frame
in RCX, not RDX.

Reviewers: pgavlin, majnemer, rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D14343

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252135 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/WinEH/wineh-coreclr.ll