[Lldb-commits] [lldb] [lldb] Reduce the number of arguments to MemoryRegionInfo constructor (PR #188755)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 27 02:46:01 PDT 2026
================
@@ -27,13 +27,9 @@ class MemoryRegionInfo {
MemoryRegionInfo() = default;
MemoryRegionInfo(RangeType range, OptionalBool read, OptionalBool write,
OptionalBool execute, OptionalBool shared,
- OptionalBool mapped, ConstString name, OptionalBool flash,
- lldb::offset_t blocksize, OptionalBool memory_tagged,
- OptionalBool stack_memory, OptionalBool shadow_stack)
+ OptionalBool mapped, ConstString name)
----------------
DavidSpickett wrote:
@Michael137 In the interest of me not having to resolve a massive merge conflict with this PR, once this is done I can look at unifying the two types.
Use LazyBool in your code for the time being. Since OptionalBool is confined to MemoryRegionInfo.
https://github.com/llvm/llvm-project/pull/188755
More information about the lldb-commits
mailing list