[all-commits] [llvm/llvm-project] 916ef9: [C-API] LLVMOrcCreateRTDyldObjectLinkingLayerWithM...

Wenzel Jakob via All-commits all-commits at lists.llvm.org
Fri Dec 16 19:15:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 916ef9b0249f41886fba31168d8cadad8c5f8fbb
      https://github.com/llvm/llvm-project/commit/916ef9b0249f41886fba31168d8cadad8c5f8fbb
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M llvm/include/llvm-c/OrcEE.h
    M llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
    M llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
    M llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp

  Log Message:
  -----------
  [C-API] LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks

Adds a LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks
function that can be used to create an RTDyldObjectLinkingLayer using callbacks
that are similar (but not identical) to those used in
LLVMCreateSimpleMCJITMemoryManager. This is intended to ease the transition to
ORC for MCJIT C-API clients.

Differential Revision: https://reviews.llvm.org/D139393


  Commit: 10d0bd44ae15c8e9398a177c45b9c415ce813550
      https://github.com/llvm/llvm-project/commit/10d0bd44ae15c8e9398a177c45b9c415ce813550
  Author: Wenzel Jakob <wenzel.jakob at epfl.ch>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M llvm/examples/OrcV2Examples/CMakeLists.txt
    A llvm/examples/OrcV2Examples/OrcV2CBindingsMCJITLikeMemoryManager/CMakeLists.txt
    A llvm/examples/OrcV2Examples/OrcV2CBindingsMCJITLikeMemoryManager/OrcV2CBindingsMCJITLikeMemoryManager.c

  Log Message:
  -----------
  [C-API] Add example code to exercise new MCJIT-like-memory-manager API.

This example shows how to use the newly added
LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks API.


Compare: https://github.com/llvm/llvm-project/compare/53243f2a2961...10d0bd44ae15


More information about the All-commits mailing list