configure: Support msan as toolchain
This commit is contained in:
parent
328e9a15c5
commit
c11a858626
5
configure
vendored
5
configure
vendored
@ -2701,6 +2701,11 @@ case "$toolchain" in
|
||||
add_cflags -fsanitize=address
|
||||
add_ldflags -fsanitize=address
|
||||
;;
|
||||
*-msan)
|
||||
cc_default="${toolchain%-msan}"
|
||||
add_cflags -fsanitize=memory -fsanitize-memory-track-origins
|
||||
add_ldflags -fsanitize=memory
|
||||
;;
|
||||
*-tsan)
|
||||
cc_default="${toolchain%-tsan}"
|
||||
add_cflags -fsanitize=thread -pie
|
||||
|
Loading…
Reference in New Issue
Block a user