From 81c22f6104a391f4b3c9f072cf8cfd47b746367d Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 19 Oct 2011 18:09:39 +0000 Subject: Moved lldb::user_id_t values to be 64 bit. This was going to be needed for process IDs, and thread IDs, but was mainly needed for for the UserID's for Types so that DWARF with debug map can work flawlessly. With DWARF in .o files the type ID was the DIE offset in the DWARF for the .o file which is not unique across all .o files, so now the SymbolFileDWARFDebugMap class will make the .o file index part (the high 32 bits) of the unique type identifier so it can uniquely identify the types. llvm-svn: 142534 --- lldb/source/API/SBDebugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/API/SBDebugger.cpp') diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp index f71b8604bc9..dfef7eb3178 100644 --- a/lldb/source/API/SBDebugger.cpp +++ b/lldb/source/API/SBDebugger.cpp @@ -969,7 +969,7 @@ SBDebugger::GetDescription (SBStream &description) { const char *name = m_opaque_sp->GetInstanceName().AsCString(); user_id_t id = m_opaque_sp->GetID(); - description.Printf ("Debugger (instance: \"%s\", id: %d)", name, id); + description.Printf ("Debugger (instance: \"%s\", id: %llu)", name, id); } else description.Printf ("No value"); -- cgit v1.2.3