From 7e2cfbf0b7001cc49f918e0d1cfe94b527764fd3 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 9 Nov 2016 09:59:18 +0000 Subject: 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 --- lldb/source/Commands/CommandObjectTarget.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lldb/source/Commands/CommandObjectTarget.cpp') 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 - -// 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 + 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': -- cgit v1.2.3