[FFmpeg-devel] [PATCH] configure: support lsan as toolchain
James Darnley
jdarnley at obe.tv
Thu Dec 15 12:11:40 EET 2022
On 12/7/22 17:08, James Darnley wrote:
> ---
> configure | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/configure b/configure
> index f4eedfc207..eaa5ef6b20 100755
> --- a/configure
> +++ b/configure
> @@ -4315,6 +4315,11 @@ case "$toolchain" in
> add_cflags -fsanitize=address
> add_ldflags -fsanitize=address
> ;;
> + *-lsan)
> + cc_default="${toolchain%-lsan}"
> + add_cflags -fsanitize=leak
> + add_ldflags -fsanitize=leak
> + ;;
> *-msan)
> cc_default="${toolchain%-msan}"
> add_cflags -fsanitize=memory -fsanitize-memory-track-origins
ping
Any objections to this?
More information about the ffmpeg-devel
mailing list