[llvm-branch-commits] [llvm] [lit] Use dbg instead of note for tool detection (PR #193662)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 23 12:47:29 PDT 2026


https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/193662

>From 585f855ab2d992f6e864959b763f7b2a3abc30f9 Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Wed, 22 Apr 2026 21:56:06 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
 =?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.7
---
 llvm/utils/lit/lit/llvm/config.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py
index 9713f4333d99a..2a6c60fab6125 100644
--- a/llvm/utils/lit/lit/llvm/config.py
+++ b/llvm/utils/lit/lit/llvm/config.py
@@ -527,7 +527,6 @@ def use_llvm_tool(
         name,
         search_env=None,
         required=False,
-        quiet=False,
         search_paths=None,
         use_installed=False,
     ):
@@ -565,8 +564,7 @@ def use_llvm_tool(
                 self.lit_config.params.get("use_normalized_slashes")
             ):
                 tool = tool.replace("\\", "/")
-            if not quiet:
-                self.lit_config.note("using {}: {}".format(name, tool))
+            self.lit_config.dbg("using {}: {}".format(name, tool))
         return tool
 
     def _get_clang_paths(self, additional_tool_dirs):



More information about the llvm-branch-commits mailing list