Skip to content

Conversation

@kwk
Copy link
Contributor

@kwk kwk commented Sep 19, 2025

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'

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'`
@kwk kwk self-assigned this Sep 19, 2025
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Sep 19, 2025
@llvmbot
Copy link
Member

llvmbot commented Sep 19, 2025

@llvm/pr-subscribers-clang

Author: Konrad Kleine (kwk)

Changes

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'


Full diff: https://github.com/llvm/llvm-project/pull/159745.diff

1 Files Affected:

  • (modified) clang/utils/perf-training/perf-helper.py (+1)
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

Copy link
Contributor

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kwk kwk merged commit 50ef746 into llvm:main Sep 19, 2025
11 checks passed
@kwk kwk deleted the perf-helper branch September 19, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants