rust/src/librustc_codegen_ssa
Dylan DPC 43cf9d791b
Rollup merge of #70467 - wesleywiser:invoke-vs-call, r=nagisa
Use `call` instead of `invoke` for functions that cannot unwind

The `FnAbi` now knows if the function is allowed to unwind. If a
function isn't allowed to unwind, we can use a `call` instead of an
`invoke`.

This resolves an issue when calling LLVM intrinsics which cannot unwind
LLVM will generate an error if you attempt to invoke them so we need to
ignore cleanup blocks in codegen and generate a call instead.

Fixes #69911

r? @eddyb
cc @rust-lang/wg-ffi-unwind
2020-04-17 23:55:56 +02:00
..
back Rollup merge of #71145 - pfmooney:illumos-triple, r=nagisa 2020-04-16 00:39:25 +02:00
debuginfo rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
mir Rollup merge of #70467 - wesleywiser:invoke-vs-call, r=nagisa 2020-04-17 23:55:56 +02:00
traits Remove Arcs in queries. 2020-04-05 15:21:08 +02:00
base.rs Auto merge of #70161 - cjgillot:query-arena, r=nikomatsakis 2020-04-11 15:31:54 +00:00
build.rs rustbuild: include channel in sanitizers installed name 2020-02-11 09:40:58 +01:00
Cargo.toml Add illumos triple 2020-04-14 20:36:07 +00:00
common.rs direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
glue.rs rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
lib.rs direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
meth.rs rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
mono_item.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
README.md fix rustc-dev-guide url in src/librustc_codegen_ssa 2020-04-10 22:48:34 +08:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.