summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Log.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-12-01 23:28:38 +0000
committerGreg Clayton <gclayton@apple.com>2011-12-01 23:28:38 +0000
commit61e7a58c0ced8df707c0ca0b85632268ace30d27 (patch)
treedd27b4584524382bc35eecd04121111ae2d30386 /lldb/source/Core/Log.cpp
parent576c0f8e542e0a69d2f450450ef4ba8124b01d28 (diff)
downloadbcm5719-llvm-61e7a58c0ced8df707c0ca0b85632268ace30d27.tar.gz
bcm5719-llvm-61e7a58c0ced8df707c0ca0b85632268ace30d27.zip
Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This
will allow us to represent a process/thread ID using a pointer for the OS plug-ins where they might want to represent the process or thread ID using the address of the process or thread structure. llvm-svn: 145644
Diffstat (limited to 'lldb/source/Core/Log.cpp')
-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 2809a9323b9..68a0b1469e7 100644
--- a/lldb/source/Core/Log.cpp
+++ b/lldb/source/Core/Log.cpp
@@ -105,7 +105,7 @@ Log::PrintfWithFlagsVarArg (uint32_t flags, const char *format, va_list args)
// Add the process and thread if requested
if (m_options.Test (LLDB_LOG_OPTION_PREPEND_PROC_AND_THREAD))
- header.Printf ("[%4.4x/%4.4x]: ", getpid(), Host::GetCurrentThreadID());
+ header.Printf ("[%4.4x/%4.4llx]: ", getpid(), Host::GetCurrentThreadID());
// Add the process and thread if requested
if (m_options.Test (LLDB_LOG_OPTION_PREPEND_THREAD_NAME))
OpenPOWER on IntegriCloud