[lld] 724a1df - [lld] Fix small error in previous commit
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 18 07:16:59 PDT 2021
Hi Amy,
Your change is causing lld/test/COFF/timers.ll to fail on the PS4 linux bot. Can you please investigate?
https://lab.llvm.org/buildbot/#/builders/139/builds/10285
Douglas Yung
-----Original Message-----
From: llvm-commits <llvm-commits-bounces at lists.llvm.org> On Behalf Of Amy Huang via llvm-commits
Sent: Friday, September 17, 2021 20:48
To: llvm-commits at lists.llvm.org
Subject: [lld] 724a1df - [lld] Fix small error in previous commit
Author: Amy Huang
Date: 2021-09-17T17:47:21-07:00
New Revision: 724a1dff8a8eabee4ca03036dd3efd84ecd8298a
URL: https://urldefense.com/v3/__https://github.com/llvm/llvm-project/commit/724a1dff8a8eabee4ca03036dd3efd84ecd8298a__;!!JmoZiZGBv3RvKRSx!tgLHX6Gm7wLdE0YuWN_OvwfVoIGT2tGJ7D_7KpI8qv_ua5U92JNMjyFIOFAAbE433A$
DIFF: https://urldefense.com/v3/__https://github.com/llvm/llvm-project/commit/724a1dff8a8eabee4ca03036dd3efd84ecd8298a.diff__;!!JmoZiZGBv3RvKRSx!tgLHX6Gm7wLdE0YuWN_OvwfVoIGT2tGJ7D_7KpI8qv_ua5U92JNMjyFIOFADEAGqNA$
LOG: [lld] Fix small error in previous commit 6f7483b1ece4747f2aafe4baa05fc07e7dc9ed9d.
Added:
Modified:
lld/Common/Timer.cpp
Removed:
################################################################################
diff --git a/lld/Common/Timer.cpp b/lld/Common/Timer.cpp index 8a2210f60eb1..40fecd8892c1 100644
--- a/lld/Common/Timer.cpp
+++ b/lld/Common/Timer.cpp
@@ -26,9 +26,9 @@ void ScopedTimer::stop() {
ScopedTimer::~ScopedTimer() { stop(); }
-Timer::Timer(llvm::StringRef name) : name(std::string(name)), total(0) {} -Timer::Timer(llvm::StringRef name, Timer &parent) :
- name(std::string(name)), total(0) {
+Timer::Timer(llvm::StringRef name) : total(0), name(std::string(name))
+{} Timer::Timer(llvm::StringRef name, Timer &parent)
+ : total(0), name(std::string(name)) {
parent.children.push_back(this);
}
_______________________________________________
llvm-commits mailing list
llvm-commits at lists.llvm.org
https://urldefense.com/v3/__https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits__;!!JmoZiZGBv3RvKRSx!tgLHX6Gm7wLdE0YuWN_OvwfVoIGT2tGJ7D_7KpI8qv_ua5U92JNMjyFIOFAUebCzCA$
More information about the llvm-commits
mailing list