================ @@ -321,7 +321,8 @@ IRMemoryMap::Allocation::Allocation(lldb::addr_t process_alloc, lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment, uint32_t permissions, AllocationPolicy policy, - bool zero_memory, Status &error) { + bool zero_memory, Status &error, ---------------- igorkudrin wrote:
That would mean more intrusive code changes because `used_policy` would become a required parameter. Maybe it would make more sense to switch to using `llvm::Expected<>` for this method? https://github.com/llvm/llvm-project/pull/145599 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits