summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-08-04 21:05:27 +0000
committerReid Kleckner <reid@kleckner.net>2014-08-04 21:05:27 +0000
commite70401045009bda43683a0e758f4afe25751d247 (patch)
tree2f0d0a48b06200a9a14795835e0ab420225d4ab8 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent7c4851e3ad57bc9d4856477dce95a1ec0692d677 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud