projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a53a1
)
Make sure we print timestamps correctly to 9 places since we are printing nanoseconds.
author
Greg Clayton
<gclayton@apple.com>
Wed, 27 May 2015 16:25:01 +0000
(16:25 +0000)
committer
Greg Clayton
<gclayton@apple.com>
Wed, 27 May 2015 16:25:01 +0000
(16:25 +0000)
<rdar://problem/
21090231
>
llvm-svn: 238334
lldb/source/Core/Log.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Core/Log.cpp
b/lldb/source/Core/Log.cpp
index
805b8fd
..
6acd50e
100644
(file)
--- 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.6
d ", now.seconds(), now.nanoseconds());
+ header.Printf ("%9d.%
09.9
d ", now.seconds(), now.nanoseconds());
}
// Add the process and thread if requested