Uh oh!
There was an error while loading. Please reload this page.
nounwind tests and cleanup - #65346
Conversation
rust-highfive
commented
Oct 12, 2019
(rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
This test was pretty useless: it always enabled optimizations, so even if we did not emit nounwind for this function, LLVM would add it. That's why we agreed in #65020 that it could be removed.
| // unclear whether there is real value in the assumption this | ||
| // can unwind. The conservatism here may just be papering over | ||
| // a real problem by making some UB a bit harder to hit.) | ||
| true |
There was a problem hiding this comment.
In #65020 nobody knew why this branch should be needed. And all the tests behave as expected without it. So I think we should remove it.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nagisa
commented
Oct 12, 2019
r=me once |
nagisa
commented
Oct 12, 2019
r? @nagisa |
RalfJung
commented
Oct 12, 2019
@bors r=nagisa |
bors
commented
Oct 12, 2019
📌 Commit 09d7be3 has been approved by |
nounwind tests and cleanup This is a follow-up to @pnkfelix' rust-lang#65020. In particular it adds some tests as @nagisa asked. It also does a cleanup that the original PR omitted to reduce backporting risks. I hope I finally managed to write an uncontroversial PR in this area. ;) This should not change any behavior, just test it better.
nounwind tests and cleanup This is a follow-up to @pnkfelix' rust-lang#65020. In particular it adds some tests as @nagisa asked. It also does a cleanup that the original PR omitted to reduce backporting risks. I hope I finally managed to write an uncontroversial PR in this area. ;) This should not change any behavior, just test it better.
Rollup of 10 pull requests Successful merges: - #65214 (Split non-CAS atomic support off into target_has_atomic_load_store) - #65246 (vxWorks: implement get_path() and get_mode() for File fmt::Debug) - #65312 (improve performance of signed saturating_mul) - #65336 (Fix typo in task::Waker) - #65346 (nounwind tests and cleanup) - #65347 (Fix #[unwind(abort)] with Rust ABI) - #65366 (Implement Error::source on IntoStringError + Remove superfluous cause impls) - #65369 (Don't discard value names when using address or memory sanitizer) - #65370 (Add `dyn` to `Any` documentation) - #65373 (Fix typo in docs for `Rc`) Failed merges: r? @ghost
This is a follow-up to @pnkfelix' #65020. In particular it adds some tests as @nagisa asked. It also does a cleanup that the original PR omitted to reduce backporting risks.
I hope I finally managed to write an uncontroversial PR in this area. ;) This should not change any behavior, just test it better.