[Lldb-commits] [lldb] [lldb] Fix evaluating expressions without JIT in an object context (PR #145599)

Igor Kudrin via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 25 11:33:28 PDT 2025


================
@@ -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


More information about the lldb-commits mailing list