[all-commits] [llvm/llvm-project] ab492f: [Orc] Take offset inside slab into account in Shar...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Fri Aug 26 20:11:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab492f628216fbca2ae2a24c8fd61ca3f9f70a04
      https://github.com/llvm/llvm-project/commit/ab492f628216fbca2ae2a24c8fd61ca3f9f70a04
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2022-08-27 (Sat, 27 Aug 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp

  Log Message:
  -----------
  [Orc] Take offset inside slab into account in SharedMemoryMapper

SharedMemoryMapper assumed each reservation will have its corresponding
allocations starting from the beginning. However with the introduction
of the slab allocator, there can be a possible offset from the start
from where the initialization is being performed.

This commit also simplifies the logic for finding the parent reservation
and makes the assert messages consistent.




More information about the All-commits mailing list