diff options
author | Pavel Labath <labath@google.com> | 2016-10-25 16:20:07 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-10-25 16:20:07 +0000 |
commit | ec534e6dfe6f2aa8edcd552dc7e9f453655ae5b9 (patch) | |
tree | 0c8f039d977445805a953c06723630075e75c178 /llvm/lib/IR/LegacyPassManager.cpp | |
parent | 91e9a5cc236941473e9791de0071f02378e0497d (diff) | |
download | bcm5719-llvm-ec534e6dfe6f2aa8edcd552dc7e9f453655ae5b9.tar.gz bcm5719-llvm-ec534e6dfe6f2aa8edcd552dc7e9f453655ae5b9.zip |
Replace TimeValue by TimePoint in LegacyPassManager. NFC.
llvm-svn: 285081
Diffstat (limited to 'llvm/lib/IR/LegacyPassManager.cpp')
-rw-r--r-- | llvm/lib/IR/LegacyPassManager.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/IR/LegacyPassManager.cpp b/llvm/lib/IR/LegacyPassManager.cpp index 1381f457db5..d5b2ef6d03b 100644 --- a/llvm/lib/IR/LegacyPassManager.cpp +++ b/llvm/lib/IR/LegacyPassManager.cpp @@ -11,19 +11,18 @@ // //===----------------------------------------------------------------------===// - -#include "llvm/IR/LLVMContext.h" -#include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/LegacyPassManager.h" +#include "llvm/IR/IRPrintingPasses.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/IR/LegacyPassManagers.h" #include "llvm/IR/LegacyPassNameParser.h" #include "llvm/IR/Module.h" +#include "llvm/Support/Chrono.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/Mutex.h" -#include "llvm/Support/TimeValue.h" #include "llvm/Support/Timer.h" #include "llvm/Support/raw_ostream.h" #include <algorithm> @@ -1129,7 +1128,7 @@ void PMDataManager::dumpPassInfo(Pass *P, enum PassDebuggingString S1, StringRef Msg) { if (PassDebugging < Executions) return; - dbgs() << "[" << sys::TimeValue::now().str() << "] " << (void *)this + dbgs() << "[" << std::chrono::system_clock::now() << "] " << (void *)this << std::string(getDepth() * 2 + 1, ' '); switch (S1) { case EXECUTION_MSG: |