[llvm] [Instrumentation] Do not run sanitizers for naked functions (PR #108552)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 12:54:43 PDT 2024


fmayer wrote:

I am not sure the commit message is completely accurate though. IR docs say

> This attribute disables prologue / epilogue emission for the function. This can have very system-specific consequences. The arguments of a naked function can not be referenced through IR values.

This means _non arguments_ could still be referenced through IR.

It would probably help if you could point towards a specific problem that this is solving.

https://github.com/llvm/llvm-project/pull/108552


More information about the llvm-commits mailing list