diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-08-04 21:05:27 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-08-04 21:05:27 +0000 |
commit | e70401045009bda43683a0e758f4afe25751d247 (patch) | |
tree | 2f0d0a48b06200a9a14795835e0ab420225d4ab8 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 7c4851e3ad57bc9d4856477dce95a1ec0692d677 (diff) | |
download | bcm5719-llvm-e70401045009bda43683a0e758f4afe25751d247.tar.gz bcm5719-llvm-e70401045009bda43683a0e758f4afe25751d247.zip |
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!
llvm-svn: 214775
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions