[clang] [clang][diagtool] Remove dependency on clangDriver from diagtool (PR #190076)
Naveen Seth Hanig via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 12 01:49:46 PDT 2026
naveen-seth wrote:
> > LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building `clang` at step 2 "annotate".
>
> >
>
> > Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/21788
>
> >
>
> > Here is the relevant piece of the build log for the reference
>
>
>
> The bot is reporting that there's a memory leak introduced by this patch. Could you please take a look?
>
>
>
> ```
>
> Direct leak of 136 byte(s) in 1 object(s) allocated from:
>
> #0 0x5ff790cff4ed in operator new(unsigned long) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:109:35
>
> #1 0x5ff790d10799 in createDiagnostics /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/tools/diagtool/ShowEnabledWarnings.cpp:61:39
>
> #2 0x5ff790d10799 in (anonymous namespace)::ShowEnabledWarnings::run(unsigned int, char**, llvm::raw_ostream&) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/tools/diagtool/ShowEnabledWarnings.cpp:98:49
>
> #3 0x7d038022a577 (/lib/x86_64-linux-gnu/libc.so.6+0x2a577) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c)
>
> #4 0x7d038022a63a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a63a) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c)
>
> #5 0x5ff790c22a04 in _start (/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/diagtool+0x12f3a04)
>
> ```
>
>
Hi, I'm currently travelling and would only be able to revert or fix today evening.
Would it be possible for someone to revert this for me?
https://github.com/llvm/llvm-project/pull/190076
More information about the cfe-commits
mailing list