[all-commits] [llvm/llvm-project] 1862fd: [clang][unittests] Fix flaky PerformPendingInstant...
Paweł Bylica via All-commits
all-commits at lists.llvm.org
Thu Apr 30 04:15:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1862fd21d631599c658b8ae39d3bcb379f0d5f4c
https://github.com/llvm/llvm-project/commit/1862fd21d631599c658b8ae39d3bcb379f0d5f4c
Author: Paweł Bylica <pawel at hepcolgum.band>
Date: 2026-04-30 (Thu, 30 Apr 2026)
Changed paths:
M clang/unittests/Support/TimeProfilerTest.cpp
Log Message:
-----------
[clang][unittests] Fix flaky PerformPendingInstantiations nesting in TimeProfilerTest (#193717)
buildTraceGraph already compensates for timer rounding that makes
PerformPendingInstantiations appear to be inside the previous event, but
only when it is nested exactly one level deep. The aarch64-darwin
buildbot produced three-level nesting for ConstantEvaluationC99, which
slipped through the normalization and broke the expected trace output.
Keep popping while PerformPendingInstantiations looks nested—we know it
is always a top-level event in these tests—instead of stopping at the
single-level case.
Followup to https://github.com/llvm/llvm-project/pull/138613.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list