[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:05:46 PST 2024
================
@@ -407,6 +407,118 @@ class LLDB_API SBProcess {
/// the process isn't loaded from a core file.
lldb::SBFileSpec GetCoreFile();
+ /// \{
+ /// \group Mask Address Methods
+ ///
+ /// \a type
+ /// All of the methods in this group take \a type argument
+ /// which is an AddressMaskType enum value.
+ /// There can be different address masks for code addresses and
+ /// data addresses, this argument can select which to get/set,
+ /// or to use when clearing non-addressable bits from an address.
+ /// On AArch32 code with arm+thumb code, where instructions start
----------------
DavidSpickett wrote:
This choice of mask can be important for example on AArch32 systems. Where instructions ...
...to get the actual address. Whereas eAddressMaskTypeData would not.
https://github.com/llvm/llvm-project/pull/83095
More information about the lldb-commits
mailing list