[all-commits] [llvm/llvm-project] 8d718a: [ORC] Fix type name.

lhames via All-commits all-commits at lists.llvm.org
Mon Apr 26 14:04:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d718a0bff73af066675a6258c01307937c33cf9
      https://github.com/llvm/llvm-project/commit/8d718a0bff73af066675a6258c01307937c33cf9
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/include/llvm-c/Orc.h

  Log Message:
  -----------
  [ORC] Fix type name.

Rename JITTargetSymbolFlags to JITSymbolTargetFlags. This matches the convention
used for JITSymbolGenericFlags.


  Commit: c8fc5e3ba942057d6c4cdcd1faeae69a28e7b671
      https://github.com/llvm/llvm-project/commit/c8fc5e3ba942057d6c4cdcd1faeae69a28e7b671
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

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

  Log Message:
  -----------
  [ORC] C API updates.

Adds support for creating custom MaterializationUnits in the C API with the new
LLVMOrcCreateCustomMaterializationUnit function.

Modifies ownership rules for LLVMOrcAbsoluteSymbols to make it consistent with
LLVMOrcCreateCustomMaterializationUnit. This is an ABI breaking change for any
clients of the LLVMOrcAbsoluteSymbols API.

Adds LLVMOrcLLJITGetObjLinkingLayer and LLVMOrcObjectLayerEmit functions to
allow clients to get a reference to an LLJIT instance's linking layer, then
emit an object file using it. This can be used to support construction of
custom materialization units in the common case where those units will
generate an object file that needs to be emitted to complete the
materialization.


  Commit: 8740360093b5154504f5e056596119f9566f4b06
      https://github.com/llvm/llvm-project/commit/8740360093b5154504f5e056596119f9566f4b06
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp

  Log Message:
  -----------
  [ORC] Add unit tests for parts of the Orc and LLJIT C APIs.

Patch by Mats Larsen. Thanks Mats!

Reviewed By: lhames

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


Compare: https://github.com/llvm/llvm-project/compare/b5403117814a...8740360093b5


More information about the All-commits mailing list