summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-05-27 16:25:01 +0000
committerGreg Clayton <gclayton@apple.com>2015-05-27 16:25:01 +0000
commitdead71a829036ef5dc3b05d4a0c2185472cf68fc (patch)
tree2a76a2dea8879f6b89b0e6dda2f1525cc8fe4419
parent85a53a1ed5fa5048e06a968f214ea71f9ccc8e83 (diff)
downloadbcm5719-llvm-dead71a829036ef5dc3b05d4a0c2185472cf68fc.tar.gz
bcm5719-llvm-dead71a829036ef5dc3b05d4a0c2185472cf68fc.zip
Make sure we print timestamps correctly to 9 places since we are printing nanoseconds.
<rdar://problem/21090231> llvm-svn: 238334
-rw-r--r--lldb/source/Core/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp
index 805b8fd100a..6acd50eec76 100644
--- a/lldb/source/Core/Log.cpp
+++ b/lldb/source/Core/Log.cpp
@@ -119,7 +119,7 @@ Log::VAPrintf(const char *format, va_list args)
if (m_options.Test (LLDB_LOG_OPTION_PREPEND_TIMESTAMP))
{
TimeValue now = TimeValue::Now();
- header.Printf ("%9d.%6.6d ", now.seconds(), now.nanoseconds());
+ header.Printf ("%9d.%09.9d ", now.seconds(), now.nanoseconds());
}
// Add the process and thread if requested
OpenPOWER on IntegriCloud