Skip to content

Commit 50ef746

Browse files
authored
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'`
1 parent 815b164 commit 50ef746

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def get_cc1_command_for_args(cmd, env):
238238
or ln.startswith("LLVM Profile Note")
239239
or ln.startswith(" (in-process)")
240240
or ln.startswith("Configuration file:")
241+
or ln.startswith("Build config:")
241242
or " version " in ln
242243
):
243244
continue

0 commit comments

Comments
 (0)