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
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index e6b917b..8e1e667 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 @@
} break;
case 'm':
- module->GetModificationTime().Dump(&strm, width);
+ DumpTimePoint(module->GetModificationTime(), strm, width);
break;
case 'p':