rust/compiler/rustc_middle/src/middle
Matthias Krüger 02629325f6
Rollup merge of #124741 - nebulark:patchable-function-entries-pr, r=estebank,workingjubilee
patchable-function-entry: Add unstable compiler flag and attribute

Tracking issue: #123115

Add the -Z patchable-function-entry compiler flag and the #[patchable_function_entry(prefix_nops = m, entry_nops = n)] attribute.
Rebased and adjusted the canditate implementation to match changes in the RFC.
2024-06-28 08:34:07 +02:00
..
codegen_fn_attrs.rs Rollup merge of #124741 - nebulark:patchable-function-entries-pr, r=estebank,workingjubilee 2024-06-28 08:34:07 +02:00
debugger_visualizer.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
dependency_format.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
exported_symbols.rs Rename InstanceDef -> InstanceKind 2024-06-16 21:35:21 -04:00
lang_items.rs Add TyCtxt::is_lang_item 2024-06-14 16:50:07 -04:00
limits.rs Add new pattern_complexity attribute to add possibility to limit and check recursion in pattern matching 2024-03-03 13:10:15 +01:00
mod.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
privacy.rs Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
region.rs Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
resolve_bound_vars.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
stability.rs Remove redundant argument from subdiagnostic method 2024-06-18 15:42:11 +00:00