[Lldb-commits] [lldb] [lldb] Fix incorrect print of UUID and load address (PR #152560)

via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 7 10:43:04 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Dominic Chen (ddcc)

<details>
<summary>Changes</summary>

The current display is missing a space, for example:
```
no target │ Locating binary: 24906A83-0182-361B-8B4A-90A249B04FD7at 0x0000000c0d108000
```

---
Full diff: https://github.com/llvm/llvm-project/pull/152560.diff


1 Files Affected:

- (modified) lldb/source/Core/DynamicLoader.cpp (+1-1) 


``````````diff
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);
   }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/152560


More information about the lldb-commits mailing list