https://github.com/kwk created https://github.com/llvm/llvm-project/pull/159745

When build with assertions, there will be an output like the following that 
needs to be filtered out, similar to the other ones.

`'Build config: +assertions'`

>From 8501cf6a31d677e31e3f2672a67caa8b020a830f Mon Sep 17 00:00:00 2001
From: Konrad Kleine <[email protected]>
Date: Fri, 19 Sep 2025 12:16:44 +0200
Subject: [PATCH] Fix perf-helper.py

When build with assertions, there will be an output like the following
that needs to be filtered out, similar to the other ones.

`'Build config: +assertions'`
---
 clang/utils/perf-training/perf-helper.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/utils/perf-training/perf-helper.py 
b/clang/utils/perf-training/perf-helper.py
index 29904aded5ab0..ab4491d2a6b6d 100644
--- a/clang/utils/perf-training/perf-helper.py
+++ b/clang/utils/perf-training/perf-helper.py
@@ -238,6 +238,7 @@ def get_cc1_command_for_args(cmd, env):
             or ln.startswith("LLVM Profile Note")
             or ln.startswith(" (in-process)")
             or ln.startswith("Configuration file:")
+            or ln.startswith("Build config:")
             or " version " in ln
         ):
             continue

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to