[Lldb-commits] [lldb] [lldb/Interpreter] Let a Scripted Process report its addressable bits (PR #224701)

Will Hawkins via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 18 16:53:02 PDT 2026


================
@@ -62,6 +64,24 @@ def get_capabilities(self) -> dict[str, bool]:
         """
         return self.capabilities
 
+    def get_addressable_bits(self) -> dict[str, int]:
+        """Get the number of bits this process uses for addressing.
+
+        LLDB strips the remaining bits off every code and data address, the
+        way the `LC_NOTE "addrable bits"` corefile note and the `qHostInfo`
+        `addressing_bits` key do for corefiles and live processes.
----------------
hawkinsw wrote:

```suggestion
        `addressing_bits` key do for corefiles and live processes).
```

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


More information about the lldb-commits mailing list