Commit c11a8586 authored by Luca Barbato's avatar Luca Barbato

configure: Support msan as toolchain

parent 328e9a15
...@@ -2701,6 +2701,11 @@ case "$toolchain" in ...@@ -2701,6 +2701,11 @@ case "$toolchain" in
add_cflags -fsanitize=address add_cflags -fsanitize=address
add_ldflags -fsanitize=address add_ldflags -fsanitize=address
;; ;;
*-msan)
cc_default="${toolchain%-msan}"
add_cflags -fsanitize=memory -fsanitize-memory-track-origins
add_ldflags -fsanitize=memory
;;
*-tsan) *-tsan)
cc_default="${toolchain%-tsan}" cc_default="${toolchain%-tsan}"
add_cflags -fsanitize=thread -pie add_cflags -fsanitize=thread -pie
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment