Files
rust/compiler/rustc_interface
Jacob Pratt a82172d9ca Rollup merge of #158036 - pmur:murp/add-fentry, r=folkertdev
Add -Zinstrument-mcount=fentry to -Zinstrument-mcount

fentry is essentially a simpler version of mcount where the counting function is called before any other function prologue actions happen.

fentry is still used by the linux x86-64 kernel. It's unclear if or when patchable-function-entry will replace it. It is also used by clang for some x86-64 mingw toolchains.

This is only supported on some x86, x86-64, and s390x targets.
2026-06-25 17:53:53 -04:00
..