summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-06-04 07:58:10 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-15 14:10:09 +0200
commit7b861a53e46b6b42ab8560b105af308cb72d7285 (patch)
treed7d45d16591a1900f4b424913fbabaed72dce8d6 /samples
parent5ddbc4082e1072eeeae52ff561a88620a05be08f (diff)
downloadlinux-7b861a53e46b6b42ab8560b105af308cb72d7285.tar.bz2
kasan: Bump required compiler version
Adds config variable CC_HAS_WORKING_NOSANITIZE_ADDRESS, which will be true if we have a compiler that does not fail builds due to no_sanitize_address functions. This does not yet mean they work as intended, but for automated build-tests, this is the minimum requirement. For example, we require that __always_inline functions used from no_sanitize_address functions do not generate instrumentation. On GCC <= 7 this fails to build entirely, therefore we make the minimum version GCC 8. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Acked-by: Andrey Konovalov <andreyknvl@google.com> Link: https://lkml.kernel.org/r/20200602175859.GC2604@hirez.programming.kicks-ass.net
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions