aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2021-06-14 16:04:43 -0700
committerAdrian Prantl <aprantl@apple.com>2021-06-14 16:09:04 -0700
commit7a7c00761f6294dc21c40cbe1737354e655cda9b (patch)
treeb139a81413b86c42e043556b006670530e7b14ef /llvm/lib/Support/Timer.cpp
parent0577f4b1789eff410f5b28434a4f7854a50dc639 (diff)
downloadllvm-7a7c00761f6294dc21c40cbe1737354e655cda9b.zip
llvm-7a7c00761f6294dc21c40cbe1737354e655cda9b.tar.gz
llvm-7a7c00761f6294dc21c40cbe1737354e655cda9b.tar.bz2
Revert "Allow signposts to take advantage of deferred string substitution"
This reverts commit 03841edde7eee21d1d450041ab9a113a7e1be869. Unfortunately this still breaks the LLDB standalone bot.
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() {