[Lldb-commits] [lldb] [lldb] Fix incorrect print of UUID and load address (PR #152560)
Dominic Chen via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 7 10:42:43 PDT 2025
https://github.com/ddcc created https://github.com/llvm/llvm-project/pull/152560
The current display is missing a space, for example:
```
no target │ Locating binary: 24906A83-0182-361B-8B4A-90A249B04FD7at 0x0000000c0d108000
```
>From 4c9d337dcd01c6713fc6a250ac30bdb22ae1abfb Mon Sep 17 00:00:00 2001
From: Dominic Chen <daming_chen at apple.com>
Date: Thu, 7 Aug 2025 10:40:15 -0700
Subject: [PATCH] Fix incorrect print of UUID and load address
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The current display is missing a space, for example:
```
no target │ Locating binary: 24906A83-0182-361B-8B4A-90A249B04FD7at 0x0000000c0d108000
```
---
lldb/source/Core/DynamicLoader.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/source/Core/DynamicLoader.cpp b/lldb/source/Core/DynamicLoader.cpp
index 4be9f3eb9abc5..7580b15c02ce1 100644
--- a/lldb/source/Core/DynamicLoader.cpp
+++ b/lldb/source/Core/DynamicLoader.cpp
@@ -211,7 +211,7 @@ ModuleSP DynamicLoader::LoadBinaryWithUUIDAndAddress(
if (uuid.IsValid())
prog_str << uuid.GetAsString();
if (value_is_offset == 0 && value != LLDB_INVALID_ADDRESS) {
- prog_str << "at 0x";
+ prog_str << " at 0x";
prog_str.PutHex64(value);
}
More information about the lldb-commits
mailing list