]> git.lizzy.rs Git - rust.git/commit
Auto merge of #37862 - shepmaster:llvm-4.0-always-set-eh-personality, r=eddyb
authorbors <bors@rust-lang.org>
Sun, 20 Nov 2016 19:50:47 +0000 (13:50 -0600)
committerGitHub <noreply@github.com>
Sun, 20 Nov 2016 19:50:47 +0000 (13:50 -0600)
commit4bc929013396eede8a22a3e7932fb3a63d2a11da
tree7cf4179bd3aa1701cd6f643791fb99acf4102c3e
parentfb122199aac1fd4f9a3c133e25791a9fcb2a6b83
parent84415ea1f2a450b0e8896696b8da4accc21b8ef5
Auto merge of #37862 - shepmaster:llvm-4.0-always-set-eh-personality, r=eddyb

[LLVM 4.0] Set EH personality when resuming stack unwinding

To resume stack unwinding, the LLVM `resume` instruction must be used.

In order to use this instruction, the calling function must have an
exception handling personality set.

LLVM 4.0 adds a new IR validation check to ensure a personality is
always set in these cases.

This was introduced in [r277360](https://reviews.llvm.org/rL277360).