diff options
author | Alexandre Ghiti <[email protected]> | 2021-10-29 06:59:27 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-10-29 08:54:50 -0700 |
commit | 54c5639d8f507ebefa814f574cb6f763033a72a5 (patch) | |
tree | ac9ba5ba08a776edb2f16e7482d6fb35d1fe4e06 /lib/test_overflow.c | |
parent | cf11d01135ea1ff7fddb612033e3cb5cde279ff2 (diff) |
riscv: Fix asan-stack clang build
Nathan reported that because KASAN_SHADOW_OFFSET was not defined in
Kconfig, it prevents asan-stack from getting disabled with clang even
when CONFIG_KASAN_STACK is disabled: fix this by defining the
corresponding config.
Reported-by: Nathan Chancellor <[email protected]>
Signed-off-by: Alexandre Ghiti <[email protected]>
Fixes: 8ad8b72721d0 ("riscv: Add KASAN support")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions