[FFmpeg-devel] [PATCH v2 1/5] configure: allow multiple sanitizers in --toolchain
Michael Niedermayer
michael at niedermayer.cc
Fri Jul 18 19:53:33 EEST 2025
On Fri, Jul 18, 2025 at 06:49:24PM +0200, Kacper Michajlow wrote:
> On Fri, 18 Jul 2025 at 18:28, Michael Niedermayer <michael at niedermayer.cc>
> wrote:
>
> > On Thu, Jul 17, 2025 at 04:04:38AM +0200, Kacper Michajłow wrote:
> > > For example this allows --toolchain=clang-asan-usan.
> > >
> > > Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
> > > ---
> > > configure | 13 +++++++++++--
> > > 1 file changed, 11 insertions(+), 2 deletions(-)
> >
> > does this need some documentation to be updated ?
>
>
> I can update configure help, but not sure what would be a good format.
> Currently it just lists all possible selections, but this wouldn't work now.
>
> Would something like this work?
>
> --- a/configure
> +++ b/configure
> @@ -381,10 +381,10 @@ Toolchain options:
> --target-samples=DIR path to samples directory on target
> --tempprefix=PATH force fixed dir/prefix instead of mktemp for
> checks
> --toolchain=NAME set tool defaults according to NAME
> - (gcc-asan, clang-asan, gcc-msan, clang-msan,
> - gcc-tsan, clang-tsan, gcc-usan, clang-usan,
> - valgrind-massif, valgrind-memcheck,
> - msvc, icl, gcov, llvm-cov, hardened)
> + (<tool>[-sanitizer[-...]], e.g. clang-asan-usan
> + tools: gcc, clang, msvc, icl, gcov, llvm-cov,
> + valgrind-memcheck, valgrind-massif,hardened
> + sanitizers: asan, msan, tsan, usan)
LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250718/a8bf7d3f/attachment.sig>
More information about the ffmpeg-devel
mailing list