diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-11-12 19:51:43 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-11-12 19:51:43 +0000 |
commit | d8cc6bc3254099df95cf22b4e74d851d92ab254e (patch) | |
tree | 533494203f509082504ca90216592c385a2d693d /lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | |
parent | 043109ee2137c9d42a3c82ed2f1fae130fe4ac3f (diff) | |
download | bcm5719-llvm-d8cc6bc3254099df95cf22b4e74d851d92ab254e.tar.gz bcm5719-llvm-d8cc6bc3254099df95cf22b4e74d851d92ab254e.zip |
Use PRIx64 when printing addr_t's. Don't need to force full-width 0 padding
with addresses that aren't designed to be column-aligned across multiple lines.
llvm-svn: 221810
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp index c6951b46d9b..8ecdea7c091 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp @@ -600,7 +600,7 @@ RegisterContextLLDB::InitializeNonZerothFrame() cfa_offset = active_row->GetCFAOffset (); - UnwindLogMsg ("m_cfa = 0x%16.16" PRIx64 " (cfa_offset = %i)", m_cfa, cfa_offset); + UnwindLogMsg ("m_cfa = 0x%" PRIx64 " (cfa_offset = %i)", m_cfa, cfa_offset); // A couple of sanity checks.. if (m_cfa == LLDB_INVALID_ADDRESS || m_cfa == (addr_t)cfa_offset || m_cfa == (addr_t)cfa_offset + 1) @@ -1503,7 +1503,7 @@ RegisterContextLLDB::ReadCFAValueForRow (lldb::RegisterKind row_register_kind, reg_info->byte_size, reg_value); value = reg_value.GetAsUInt64(); - UnwindLogMsg("dereferenced address: 0x%16.16" PRIx64 " yields: %lx", tmp, value); + UnwindLogMsg("dereferenced address: 0x%" PRIx64 " yields: %" PRIx64, tmp, value); return error.Success(); } value = value + row->GetCFAOffset (); |