[llvm] [Instrumentation] Do not run sanitizers for naked functions (PR #108552)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 13:27:06 PDT 2024
antoniofrighetto wrote:
See downstream issue: https://github.com/rust-lang/rust/issues/129224. Yeah, the commit message can be made more accurate. I was having in mind Rust Naked functions when I wrote it; indeed inline asm only is not a strict requirement in LLVM. That said, I'm not sure you'd be able to leverage Asan instrumentation properly (e.g., for stack accesses), if the function lacks of prologue/epilogue in the first place.
https://github.com/llvm/llvm-project/pull/108552
More information about the llvm-commits
mailing list