summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2017-11-20 13:16:14 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-09 12:21:25 +0300
commitdde709d1361ab50d3b9f2824f72b4374f5582e84 (patch)
tree441e7bde41fc063c7f23f31578560ca6174d6f16 /arch/s390
parentd58106c3ec9abcf2f9882171d6230eccfd6dc52e (diff)
downloadlinux-dde709d1361ab50d3b9f2824f72b4374f5582e84.tar.xz
compiler: introduce __no_sanitize_address_or_inline
Due to conflict between kasan instrumentation and inlining https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67368 functions which are defined as inline could not be called from functions defined with __no_sanitize_address. Introduce __no_sanitize_address_or_inline which would expand to __no_sanitize_address when the kernel is built with kasan support and to inline otherwise. This helps to avoid disabling kasan instrumentation for entire files. Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions