diff options
| author | Lukas Bulwahn <[email protected]> | 2025-05-07 13:30:43 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2025-05-21 14:08:42 +0000 |
| commit | 582847f9702461b0a1cba3efdb2b8135bf940d53 (patch) | |
| tree | fde410194606a81e2f0ba65de7c691b8e2219ced /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | Documentation: update binutils-2.30 version reference (diff) | |
| download | kernel-582847f9702461b0a1cba3efdb2b8135bf940d53.tar.gz kernel-582847f9702461b0a1cba3efdb2b8135bf940d53.zip | |
Makefile.kcov: apply needed compiler option unconditionally in CFLAGS_KCOV
Commit 852faf805539 ("gcc-plugins: remove SANCOV gcc plugin") removes the
config CC_HAS_SANCOV_TRACE_PC, as all supported compilers include the
compiler option '-fsanitize-coverage=trace-pc' by now.
The commit however misses the important use of this config option in
Makefile.kcov to add '-fsanitize-coverage=trace-pc' to CFLAGS_KCOV.
Include the compiler option '-fsanitize-coverage=trace-pc' unconditionally
to CFLAGS_KCOV, as all compilers provide that option now.
Fixes: 852faf805539 ("gcc-plugins: remove SANCOV gcc plugin")
Signed-off-by: Lukas Bulwahn <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Reviewed-by: Dmitry Vyukov <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
