On Fri, Jul 18, 2025 at 06:49:24PM +0200, Kacper Michajlow wrote: > On Fri, 18 Jul 2025 at 18:28, Michael Niedermayer > 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 > > > --- > > > 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) > + ([-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