summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2023-08-07 09:41:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-27 10:33:40 +0200
commit2d05669ce1f18c1bc51476980a0e8bd107682546 (patch)
treed897daab41ec569ce9832f624d914e5a5a427d3d /scripts/gcc-plugins/sancov_plugin.c
parent18b61cc1d099695ff930e9043ee9bc522b953a9b (diff)
gcc-plugins: Rename last_stmt() for GCC 14+
commit 2e3f65ccfe6b0778b261ad69c9603ae85f210334 upstream. In GCC 14, last_stmt() was renamed to last_nondebug_stmt(). Add a helper macro to handle the renaming. Cc: linux-hardening@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions