https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124949
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Depends on which sanitization.
Most of the -fsanitize=undefined sanitization is considered in inlining
heuristics (though of course question is how accurately), because some of the
sanitization is done through builtins already from the FEs and some is added in
ubsan pass in a form of internal functions or the builtins.
Asan/Tsan instrumentation on the other side is added in post-IPA passes and the
inlining heuristics doesn't know about it.