[all-commits] [llvm/llvm-project] c0143f: [ORC] Make ObjectLinkingLayer own its jitlink::Mem...

lhames via All-commits all-commits at lists.llvm.org
Sun Dec 15 17:36:23 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c0143f37dab38a2da27c9bb6f44f3a54ca9cf86f
      https://github.com/llvm/llvm-project/commit/c0143f37dab38a2da27c9bb6f44f3a54ca9cf86f
  Author: Lang Hames <lhames at gmail.com>
  Date:   2019-12-15 (Sun, 15 Dec 2019)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
    M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.h

  Log Message:
  -----------
  [ORC] Make ObjectLinkingLayer own its jitlink::MemoryManager.

This relieves ObjectLinkingLayer clients of the responsibility of holding the
memory manager. This makes it easier to select between RTDyldObjectLinkingLayer
(which already owned its memory manager factory) and ObjectLinkingLayer at
runtime as clients aren't required to hold a jitlink::MemoryManager field just
in case ObjectLinkingLayer is selected.




More information about the All-commits mailing list