diff options
author | Pavel Labath <labath@google.com> | 2016-11-09 09:59:18 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-11-09 09:59:18 +0000 |
commit | 7e2cfbf0b7001cc49f918e0d1cfe94b527764fd3 (patch) | |
tree | d2e76aa452b3f86f7d26feabf0f583807df92fb8 /lldb/source/Commands/CommandObjectTarget.cpp | |
parent | 25143dfd48ea7f52d3066ff73a6c99f0f1bae1da (diff) | |
download | bcm5719-llvm-7e2cfbf0b7001cc49f918e0d1cfe94b527764fd3.tar.gz bcm5719-llvm-7e2cfbf0b7001cc49f918e0d1cfe94b527764fd3.zip |
Remove TimeValue usage from Core/Module
Summary:
The only interesting part here is that TimePoint and TimeValue have different
natural string representations, which affects "target modules list" output. It
is now "2016-07-09 04:02:21.000000000", whereas previously in was
"Sat Jul 9 04:02:21 2016". I wanted to check if we're OK with that.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D26275
llvm-svn: 286349
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index e6b917b0c6a..8e1e6678969 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -9,11 +9,6 @@ #include "CommandObjectTarget.h" -// C Includes -// C++ Includes -#include <cerrno> - -// Other libraries and framework includes // Project includes #include "lldb/Core/Debugger.h" #include "lldb/Core/IOHandler.h" @@ -55,6 +50,10 @@ #include "lldb/Target/Thread.h" #include "lldb/Target/ThreadSpec.h" +// C Includes +// C++ Includes +#include <cerrno> + using namespace lldb; using namespace lldb_private; @@ -3108,7 +3107,7 @@ protected: } break; case 'm': - module->GetModificationTime().Dump(&strm, width); + DumpTimePoint(module->GetModificationTime(), strm, width); break; case 'p': |