android_kernel_xiaomi_sm8450/scripts/gcc-plugins
Kees Cook 2e272e7d71 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>
2024-07-27 10:40:16 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
arm_ssp_per_task_plugin.c gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6 2019-05-10 15:35:01 -07:00
cyc_complexity_plugin.c gcc-plugins: Replace HTTP links with HTTPS ones 2020-07-13 09:29:09 -07:00
gcc-common.h gcc-plugins: Rename last_stmt() for GCC 14+ 2024-07-27 10:40:16 +02:00
gcc-generate-gimple-pass.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gcc-generate-ipa-pass.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gcc-generate-rtl-pass.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gcc-generate-simple_ipa-pass.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gen-random-seed.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig gcc-plugins: simplify GCC plugin-dev capability test 2021-12-14 11:32:33 +01:00
latent_entropy_plugin.c gcc-plugins: latent_entropy: use /dev/urandom 2022-04-20 09:23:26 +02:00
Makefile gcc-plugins: fix gcc 11 indigestion with plugins... 2021-12-14 11:32:33 +01:00
randomize_layout_plugin.c randstruct: Fix gcc-plugin performance mode to stay in group 2023-11-28 16:54:55 +00:00
sancov_plugin.c gcc-plugins: Replace HTTP links with HTTPS ones 2020-07-13 09:29:09 -07:00
stackleak_plugin.c gcc-plugins/stackleak: Exactly match strings instead of prefixes 2022-04-08 14:40:30 +02:00
structleak_plugin.c gcc-plugins: Replace HTTP links with HTTPS ones 2020-07-13 09:29:09 -07:00