Author: Konrad Kleine
Date: 2025-09-19T16:56:29+02:00
New Revision: 50ef746a12a77e2e9f0c61f3ad92dfe0d8019194

URL: 
https://github.com/llvm/llvm-project/commit/50ef746a12a77e2e9f0c61f3ad92dfe0d8019194
DIFF: 
https://github.com/llvm/llvm-project/commit/50ef746a12a77e2e9f0c61f3ad92dfe0d8019194.diff

LOG: Fix perf-helper.py (#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'`

Added: 
    

Modified: 
    clang/utils/perf-training/perf-helper.py

Removed: 
    


################################################################################
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