gcc-plugins: consolidate on PASS_INFO macro
authorKees Cook <keescook@chromium.org>
Fri, 13 Jan 2017 22:09:35 +0000 (14:09 -0800)
committerKees Cook <keescook@chromium.org>
Fri, 13 Jan 2017 22:20:03 +0000 (14:20 -0800)
commit5a45a4c5c3f5e36a03770deb102ca6ba256ff3d7
tree0764f01c69440d5499223737496bbdecf05e3ca9
parent8d4973a1c01d4b38871fbc6631e1fdd20e6c9e90
gcc-plugins: consolidate on PASS_INFO macro

Now that PASS_INFO() exists, use it in the other existing gcc plugins,
instead of always open coding the same thing.

Based on updates to the grsecurity/PaX gcc plugins.

Signed-off-by: Kees Cook <keescook@chromium.org>
scripts/gcc-plugins/cyc_complexity_plugin.c
scripts/gcc-plugins/latent_entropy_plugin.c
scripts/gcc-plugins/sancov_plugin.c