diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2020-03-26 05:32:52 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2020-04-15 05:45:21 -0400 |
| commit | 8da26e036630352a21a9ddc14bf53ad31e9b9ba0 (patch) | |
| tree | c5f3621b6643930cb462094fa6b656a89d392f38 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | ba72b15666b2491415aec703a02c2364fe5e2790 (diff) | |
| download | rust-8da26e036630352a21a9ddc14bf53ad31e9b9ba0.tar.gz rust-8da26e036630352a21a9ddc14bf53ad31e9b9ba0.zip | |
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.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
