[Lldb-commits] [lldb] a7c9725 - [lldb][Darwin] add 0x prefix on a hex value log message (#195223)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 30 23:38:40 PDT 2026
Author: Jason Molenda
Date: 2026-04-30T23:38:35-07:00
New Revision: a7c97252ed18839e87796dffd3926086ab62e8fd
URL: https://github.com/llvm/llvm-project/commit/a7c97252ed18839e87796dffd3926086ab62e8fd
DIFF: https://github.com/llvm/llvm-project/commit/a7c97252ed18839e87796dffd3926086ab62e8fd.diff
LOG: [lldb][Darwin] add 0x prefix on a hex value log message (#195223)
Added:
Modified:
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
index 894ee16935e7e..6618b3a5d2b4b 100644
--- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
+++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
@@ -317,8 +317,8 @@ bool DynamicLoaderDarwin::UpdateImageLoadAddress(Module *module,
if (info.segments[i].vmsize != section_sp->GetByteSize())
LLDB_LOGF(log,
- "%s: In-memory segment size for %s is %" PRIx64
- " but file segment size is %" PRIx64,
+ "%s: In-memory segment size for %s is 0x%" PRIx64
+ " but file segment size is 0x%" PRIx64,
info.file_spec.GetFilename().AsCString(""),
info.segments[i].name.AsCString(""),
info.segments[i].vmsize, section_sp->GetByteSize());
More information about the lldb-commits
mailing list