Compiler-generated NOPs
Compiler-generated NOPs
Posted Oct 8, 2024 20:50 UTC (Tue) by riking (subscriber, #95706)In reply to: Uhh what? by NYKevin
Parent article: Efficient Rust tracepoints
This does actually exist already: https://doc.rust-lang.org/beta/unstable-book/compiler-fla... places NOPs at or before the start of a function. The problem is putting them in the middle of a function.
Posted Oct 31, 2024 13:43 UTC (Thu)
by sammythesnake (guest, #17693)
[Link]
Compiler-generated NOPs
How about an inlined function that starts with the required NOPS and then does nothing? Is that something available in Rust and would it do the job...?