commit | 0b04cf6e7150d25a1e1746d6dbe00a2459eaedd0 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <reid@kleckner.net> | Mon Aug 04 21:05:27 2014 +0000 |
committer | Reid Kleckner <reid@kleckner.net> | Mon Aug 04 21:05:27 2014 +0000 |
tree | 10efca5158f90572d2dcfe893ef2dea27823e58a | |
parent | 1bb69f17d81559987a4ad4819487b1630934005e [diff] |
Fix failure to invoke exception handler on Win64 When the last instruction prior to a function epilogue is a call, we need to emit a nop so that the return address is not in the epilogue IP range. This is consistent with MSVC's behavior, and may be a workaround for a bug in the Win64 unwinder. Differential Revision: http://reviews.llvm.org/D4751 Patch by Vadim Chugunov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214775 91177308-0d34-0410-b5e6-96231b3b80d8