aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-06-12 12:03:59 +0100
committerFlorian Hahn <flo@fhahn.com>2021-06-12 12:08:25 +0100
commitb4583a5ad73b633c3eac5ffbad93f2405e1418ab (patch)
tree0b1da95ad33d68dc276781fc95443bd0681a0adc /llvm/lib/Support/Timer.cpp
parent8e62797963875e0cf93fcabda9e18bc0eff5da11 (diff)
downloadllvm-b4583a5ad73b633c3eac5ffbad93f2405e1418ab.zip
llvm-b4583a5ad73b633c3eac5ffbad93f2405e1418ab.tar.gz
llvm-b4583a5ad73b633c3eac5ffbad93f2405e1418ab.tar.bz2
Revert "Allow signposts to take advantage of deferred string substitution"
This reverts commit 4fc93a3a1f95ef5a0a57750fc621f2411ea445a8 because it breaks LLDB builds on certain macOS platform & SDK combinations, e.g. http://green.lab.llvm.org/green/job/lldb-cmake-standalone/3288/consoleFull#-195476041949ba4694-19c4-4d7e-bec5-911270d8a58c
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
-rw-r--r--llvm/lib/Support/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index 8d421db..6e592db 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/lib/Support/Timer.cpp
@@ -174,7 +174,7 @@ void Timer::stopTimer() {
Running = false;
Time += TimeRecord::getCurrentTime(false);
Time -= StartTime;
- Signposts->endInterval(this);
+ Signposts->endInterval(this, getName());
}
void Timer::clear() {