[Lldb-commits] [lldb] [lldb] Add SBProcess methods for get/set/use address masks (PR #83095)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 29 02:03:21 PST 2024


================
@@ -1255,6 +1255,95 @@ lldb::SBFileSpec SBProcess::GetCoreFile() {
   return SBFileSpec(core_file);
 }
 
+addr_t SBProcess::GetAddressMask(AddressMaskType type,
+                                 AddressMaskRange addr_range) {
+  LLDB_INSTRUMENT_VA(this, type, addr_range);
+  addr_t default_mask = 0;
----------------
DavidSpickett wrote:

Wouldn't we need a `LLDB_INVALID_ADDRESS_MASK` as well? It can happen that the address mask is valid, and has a value of 0.

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


More information about the lldb-commits mailing list