]> granicus.if.org Git - clang/commit
Avoid crashing when failing to emit a thunk
authorReid Kleckner <reid@kleckner.net>
Thu, 10 Apr 2014 01:40:15 +0000 (01:40 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 10 Apr 2014 01:40:15 +0000 (01:40 +0000)
commitc38f186f229b37875b73ecd4c1d44d62c38bc354
tree47af5d1e56fbe6858b5c34d43f10d71d27e1464a
parentf1d76ed65064eedeece6f057c2ca04c39a751caf
Avoid crashing when failing to emit a thunk

If we crash, we raise a crash handler dialog, and that's really
annoying.  Even though we can't emit correct IR until we have musttail,
don't crash.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205948 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGenCXX/microsoft-abi-nontrivial-memptr-thunks.cpp [new file with mode: 0644]