[Lldb-commits] [lldb] [lldb][Darwin] add 0x prefix on a hex value log message (PR #195223)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 30 23:14:20 PDT 2026
https://github.com/jasonmolenda created https://github.com/llvm/llvm-project/pull/195223
None
>From ba39c8345b9b8cee1e8d2cfe7ca54ff0eb4b86d8 Mon Sep 17 00:00:00 2001
From: Jason Molenda <jmolenda at apple.com>
Date: Thu, 30 Apr 2026 23:12:33 -0700
Subject: [PATCH] [lldb][Darwin] add 0x prefix on a hex value log message
---
.../Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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