[FFmpeg-cvslog] configure: Support msan as toolchain

Luca Barbato git at videolan.org
Wed Apr 13 18:29:26 CEST 2016


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Mar  6 22:48:20 2016 +0100| [c11a8586264520e6afcddc52156f4a1fd2fb07b2] | committer: Luca Barbato

configure: Support msan as toolchain

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c11a8586264520e6afcddc52156f4a1fd2fb07b2
---

 configure |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index d8b8c07..f0c4f0a 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



More information about the ffmpeg-cvslog mailing list