-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[beta] backports #118492
[beta] backports #118492
Commits on Dec 1, 2023
-
Build pre-coroutine-transform coroutine body
(cherry picked from commit 0ba7d19)
Configuration menu - View commit details
-
Copy full SHA for 20b2dbf - Browse repository at this point
Copy the full SHA 20b2dbfView commit details -
Fix coroutine validation for mixed panic strategy
Validation introduced in rust-lang#113124 allows UnwindAction::Continue and TerminatorKind::Resume to occur only in functions with ABI that can unwind. The function ABI depends on the panic strategy, which can vary across crates. Usually MIR is built and validated in the same crate. The coroutine drop glue thus far was an exception. As a result validation could fail when mixing different panic strategies. Avoid the problem by executing AbortUnwindingCalls along with the validation. (cherry picked from commit 5161b22)
Configuration menu - View commit details
-
Copy full SHA for ae0b24f - Browse repository at this point
Copy the full SHA ae0b24fView commit details -
Precommit test for rust-lang#118328.
(cherry picked from commit b1a6cf4)
Configuration menu - View commit details
-
Copy full SHA for ebd43bd - Browse repository at this point
Copy the full SHA ebd43bdView commit details -
ConstProp: Remove const when rvalue check fails.
(cherry picked from commit 9121a41)
Configuration menu - View commit details
-
Copy full SHA for cb4f87a - Browse repository at this point
Copy the full SHA cb4f87aView commit details -
(cherry picked from commit 6e956c0)
Configuration menu - View commit details
-
Copy full SHA for 98d3e99 - Browse repository at this point
Copy the full SHA 98d3e99View commit details -
Dispose llvm::TargetMachines prior to llvm::Context being disposed
If the TargetMachine is disposed after the Context is disposed, it can lead to use after frees in some cases. I've observed this happening occasionally on code compiled for aarch64-pc-windows-msvc using `-Zstack-protector=strong` but other users have reported AVs from host aarch64-pc-windows-msvc compilers as well. (cherry picked from commit 3323e4d)
Configuration menu - View commit details
-
Copy full SHA for 76e6681 - Browse repository at this point
Copy the full SHA 76e6681View commit details -
Update compiler/rustc_codegen_llvm/src/lib.rs
Co-authored-by: Josh Stone <cuviper@gmail.com> (cherry picked from commit 1011078)
Configuration menu - View commit details
-
Copy full SHA for 6c45608 - Browse repository at this point
Copy the full SHA 6c45608View commit details