[Bug gcov-profile/110074] code bloat with -fprofile-arcs + -fsanitize=bounds
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 1 13:32:30 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110074
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|sanitizer |gcov-profile
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>Nick Desaulniers pointed out a recent change to LLVM that addresses a similar problem by not trying to sanitize code that was generated by gcov
Well in the case of GCC, it is the order of sanitizer and profile-arcs is the
opposite of clang/LLVM's. That is the issue is we need not to generate
profile-arcs for code added by the sanitizer.
More information about the Gcc-bugs
mailing list