[PATCH] D146183: [JITLink][ORC] Rename MemDeallocPolicy to MemLifetimePolicy, add NoAlloc option.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 21:40:41 PDT 2023


lhames added a comment.

New commit language on edges between Standard/Finalize and NoAlloc sections:

> Addresses of blocks in NoAlloc sections are initialized by the LinkGraph
> creator (a LinkGraphBuilder, if the graph is generated from an object file),
> and should not be modified by the JITLinkMemoryManager. Plugins are responsible
> for updating addresses if they add/remove content from these sections. The
> meaning of addresses in NoAlloc-sections is backend/plugin-defined, but for
> fixup purposes they will be treated the same as addresses in Standard/Finalize
> sections. References from Standard/Finalize sections to NoAlloc sections are
> expected to be common (these represent metadata tracking executor addresses).
> References from NoAlloc sections to Standard/Finalize sections are expected to
> be rare/non-existent (they would represent JIT'd code / data tracking metadata
> in the controller, which would be surprising). LinkGraphBuilders and specific
> backends may impose additional constraints on edges between Standard/Finalize
> and NoAlloc sections where required for correctness.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146183/new/

https://reviews.llvm.org/D146183



More information about the llvm-commits mailing list