[all-commits] [llvm/llvm-project] 073df4: [examples] Update LLJITWithJITLink example for cha...

lhames via All-commits all-commits at lists.llvm.org
Sun Dec 15 21:57:58 PST 2019


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

  Changed paths:
    M llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp

  Log Message:
  -----------
  [examples] Update LLJITWithJITLink example for change in c0143f37dab.


  Commit: 67a1b7f05379f2686f858fc103debcac0aed3973
      https://github.com/llvm/llvm-project/commit/67a1b7f05379f2686f858fc103debcac0aed3973
  Author: Lang Hames <lhames at gmail.com>
  Date:   2019-12-15 (Sun, 15 Dec 2019)

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

  Log Message:
  -----------
  [Orc][LLJIT] Automatically use JITLink for LLJIT on supported platforms.

JITLink (which underlies ObjectLinkingLayer) is a replacement for RuntimeDyld.
It supports the native code model, and linker plugins that enable a wider range
of features than RuntimeDyld.

Currently only enabled for MachO/x86-64 and MachO/arm64. New architectures will
be added as JITLink support for them is developed.


  Commit: 3c9bf77b2e610856e23237746c0ff51a01d1d79f
      https://github.com/llvm/llvm-project/commit/3c9bf77b2e610856e23237746c0ff51a01d1d79f
  Author: Lang Hames <lhames at gmail.com>
  Date:   2019-12-15 (Sun, 15 Dec 2019)

  Changed paths:
    M llvm/examples/LLJITExamples/CMakeLists.txt
    A llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/CMakeLists.txt
    A llvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/LLJITWithCustomObjectLinkingLayer.cpp
    R llvm/examples/LLJITExamples/LLJITWithJITLink/CMakeLists.txt
    R llvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp

  Log Message:
  -----------
  [examples] Rename LLJITWithJITLink to LLJITWithCustomObjectLinkingLayer.

LLJIT now uses JITLink/ObjectLinkingLayer by default where available, so
these steps aren't required to use it. The tutorial is still useful though:
Clients can use it to test altervative linking layer implementations (e.g.
handing off to the system linker) or to test implementations of JITLink that
are still under development.


Compare: https://github.com/llvm/llvm-project/compare/d28c6d51d154...3c9bf77b2e61


More information about the All-commits mailing list