mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'c11a8586264520e6afcddc52156f4a1fd2fb07b2'
* commit 'c11a8586264520e6afcddc52156f4a1fd2fb07b2': configure: Support msan as toolchain Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
commit
6e6b1fe7f7
|
@ -3395,6 +3395,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
|
||||||
|
|
Loading…
Reference in New Issue