hits llvm assertion "Cannot start a running timer" when timing passes #53136
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
build config:
I built llvm with assertions enabled and debug assertions.
When building projects with
RUSTFLAGS="-Ztime-passes -Ztime-llvm-passes"
I often hit an assertion:https://github.com/rust-lang/llvm/blob/rust-llvm-release-7-0-0-v2/lib/Support/Timer.cpp#L135
It looks like the assertion is triggered by one of the
-Ztime-passes -Ztime-llvm-passes
flagsThe text was updated successfully, but these errors were encountered: