about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-16 12:30:07 +0000
committerbors <bors@rust-lang.org>2021-05-16 12:30:07 +0000
commit747a5d2a5d6693f5e9426524b0dab34eb1587377 (patch)
treed4cf474094d11b09717a33619aab66c488a0dffc /library/std/src/sys/unix/stack_overflow.rs
parent3f46b82d29ac6ab9bdb6a488e55dcf6581bf7d26 (diff)
parentcb23a794a65c07c99c822a87b0855e3634d8a993 (diff)
downloadrust-747a5d2a5d6693f5e9426524b0dab34eb1587377.tar.gz
rust-747a5d2a5d6693f5e9426524b0dab34eb1587377.zip
Auto merge of #85316 - eddyb:cg-ssa-on-demand-cleanuppad, r=nagisa
rustc_codegen_ssa: generate MSVC cleanup pads on demand, like GNU landing pads.

This unblocks #84993 in terms of codegen tests, as it brings the MSVC-style (`cleanup_pad`) EH (LLVM) block order in line with the GNU-style (`landing_pad`) EH (LLVM) block order, by having both of them be on-demand (instead of MSVC-style being eager and GNU-style lazy/on-demand).

It also unifies the two implementations a bit, similar to #84699, but in the opposite direction (as that attempt made both kinds of EH pads eagerly built).

~~Opening as draft because I haven't done enough Windows testing just yet, of both this PR, and of #84993 rebased on it.~~ (**EDIT**: seems to be working as expected)

r? `@nagisa`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions