[Lldb-commits] [lldb] [lldb][Linux] Read memory protection keys for memory regions (PR #182246)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 24 08:10:05 PDT 2026
================
@@ -29,11 +29,13 @@ class MemoryRegionInfo {
OptionalBool execute, OptionalBool shared,
OptionalBool mapped, ConstString name, OptionalBool flash,
lldb::offset_t blocksize, OptionalBool memory_tagged,
- OptionalBool stack_memory, OptionalBool shadow_stack)
+ OptionalBool stack_memory, OptionalBool shadow_stack,
+ std::optional<unsigned> protection_key)
----------------
DavidSpickett wrote:
What makes you think that?
Perhaps it's that I used a u32 printf directive earlier. I should be able to find a way to have the compiler decide that formatter for me.
Or perhaps you just want to use a specific width type to be conservative in case the `unsigned` between remote and host are not the same?
https://github.com/llvm/llvm-project/pull/182246
More information about the lldb-commits
mailing list