]> git.hungrycats.org Git - linux/commit
perf python: Allow checking for the existence of warning options in clang
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2024 17:13:49 +0000 (14:13 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:01:14 +0000 (12:01 +0200)
commitaa8086f899a7aae839074d9752f290eb96819fd2
treecf62e392b1453fc558279c702b53c1c45fce3586
parentdf8d896f8f94f96c54d5cc798fafd209d830f40d
perf python: Allow checking for the existence of warning options in clang

commit b81162302001f41157f6e93654aaccc30e817e2a upstream.

We'll need to check if an warning option introduced in clang 19 is
available on the clang version being used, so cover the error message
emitted when testing for a -W option.

Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/lkml/CA+icZUVtHn8X1Tb_Y__c-WswsO0K8U9uy3r2MzKXwTA5THtL7w@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/setup.py