diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-17 23:55:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 23:55:56 +0200 |
| commit | 43cf9d791baaac744487a37c4b14321ee1f3866b (patch) | |
| tree | b05b54392685b0bbfa17a73d680588e79cb25dc1 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | ce93331e2cf21ac4b72a53854b105955919114e7 (diff) | |
| parent | 8da26e036630352a21a9ddc14bf53ad31e9b9ba0 (diff) | |
| download | rust-43cf9d791baaac744487a37c4b14321ee1f3866b.tar.gz rust-43cf9d791baaac744487a37c4b14321ee1f3866b.zip | |
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
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
