Commit 6e6b1fe7 authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'c11a8586'

* commit 'c11a8586':
  configure: Support msan as toolchain
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents c849ed8b c11a8586
......@@ -3395,6 +3395,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
......
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