rust/tests
bors 8c4db851a7 Auto merge of #122662 - Mark-Simulacrum:optional-drop, r=bjorn3
Omit non-needs_drop drop_in_place in vtables

This replaces the drop_in_place reference with null in vtables. On librustc_driver.so, this drops about ~17k (11%) dynamic relocations from the output, since many vtables can now be placed in read-only memory, rather than having a relocated pointer included.

This makes a tradeoff by adding a null check at vtable call sites. I'm not sure that's readily avoidable without changing the vtable format (e.g., so that we can use a pc-relative relocation instead of an absolute address, and avoid the dynamic relocation that way). But it seems likely that the check is cheap at runtime.

Accepted MCP: https://github.com/rust-lang/compiler-team/issues/730
2024-05-28 16:04:14 +00:00
..
assembly
auxiliary
codegen Auto merge of #122662 - Mark-Simulacrum:optional-drop, r=bjorn3 2024-05-28 16:04:14 +00:00
codegen-units Omit non-needs_drop drop_in_place in vtables 2024-05-27 16:26:56 -04:00
coverage
coverage-run-rustdoc
crashes Rollup merge of #125640 - fmease:plz-no-stringify, r=estebank 2024-05-28 02:07:48 -07:00
debuginfo
incremental
mir-opt Create const block DefIds in typeck instead of ast lowering 2024-05-28 13:38:43 +00:00
pretty Create const block DefIds in typeck instead of ast lowering 2024-05-28 13:38:43 +00:00
run-make Rollup merge of #125542 - GuillaumeGomez:migrate-rustdoc-verify-output-files, r=jieyouxu 2024-05-27 20:43:25 +02:00
run-make-fulldeps
run-pass-valgrind
rustdoc Auto merge of #125599 - camelid:clarify-stability, r=notriddle,GuillaumeGomez 2024-05-27 18:42:42 +00:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json rustdoc-json: Add test for keywords with --document-private-items 2024-05-24 16:40:20 +00:00
rustdoc-ui non_local_defs: improve exception note for impl and macro_rules! 2024-05-27 23:59:18 +02:00
ui Create const block DefIds in typeck instead of ast lowering 2024-05-28 13:38:43 +00:00
ui-fulldeps Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercote 2024-05-27 08:44:12 +00:00
COMPILER_TESTS.md