]> git.lizzy.rs Git - rust.git/commit
rustc_trans: Update LLVMBuildLandingPad signature
authorAlex Crichton <alex@alexcrichton.com>
Tue, 30 Jun 2015 15:56:56 +0000 (08:56 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 17 Jul 2015 03:25:51 +0000 (20:25 -0700)
commit7f0e733f1d8e597faee4bff0fc04838867725fad
tree4d0fbbc0f4de4c599a865b22ba6a00bcc736798e
parentc55d3f1ba1e78466d2f5703a9e291f4849ddcc94
rustc_trans: Update LLVMBuildLandingPad signature

The C API of this function changed so it no longer takes a personality function.
A shim was introduced to call the right LLVM function (depending on which
version we're compiled against) to set the personality function on the outer
function.

The compiler only ever sets one personality function for all generated
functions, so this should be equivalent.
src/librustc_llvm/lib.rs
src/librustc_trans/trans/build.rs
src/librustc_trans/trans/builder.rs
src/rustllvm/RustWrapper.cpp