[Lldb-commits] [lldb] [lldb] Upstream and adopt ReadUnsignedIntegersFromMemory in AppleObjCRuntimeV2 (PR #190564)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Sun Apr 5 17:41:32 PDT 2026
================
@@ -1695,11 +1695,24 @@ class Process : public std::enable_shared_from_this<Process>,
size_t byte_size, uint64_t fail_value,
Status &error);
+ /// Use Process::ReadMemoryRanges to efficiently read multiple unsigned
+ /// integers from memory at once.
+ /// TODO: this should be upstream once there is a use for it there.
+ llvm::SmallVector<std::optional<uint64_t>>
+ ReadUnsignedIntegersFromMemory(llvm::ArrayRef<lldb::addr_t> addresses,
+ unsigned byte_size);
+
int64_t ReadSignedIntegerFromMemory(lldb::addr_t load_addr, size_t byte_size,
int64_t fail_value, Status &error);
lldb::addr_t ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error);
+ /// Use Process::ReadMemoryRanges to efficiently read multiple pointers from
+ /// memory at once.
+ /// TODO: this should be upstream once there is a use for it there.
----------------
JDevlieghere wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/190564
More information about the lldb-commits
mailing list