Added toolchain abstraction for address sanitizer Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
8 lines
158 B
CMake
8 lines
158 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
macro(toolchain_cc_asan)
|
|
|
|
zephyr_compile_options(-fsanitize=address)
|
|
zephyr_ld_options(-fsanitize=address)
|
|
|
|
endmacro()
|