43cf9d791b
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 |
||
---|---|---|
.. | ||
back | ||
debuginfo | ||
mir | ||
traits | ||
base.rs | ||
build.rs | ||
Cargo.toml | ||
common.rs | ||
glue.rs | ||
lib.rs | ||
meth.rs | ||
mono_item.rs | ||
README.md |
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.