diff --git a/configure b/configure index d8b8c07c8c..f0c4f0af5b 100755 --- a/configure +++ b/configure @@ -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