[all-commits] [llvm/llvm-project] 803c77: [C-API][ORC] Add LLVMOrcExecutionSessionLookup -- ...

lhames via All-commits all-commits at lists.llvm.org
Mon Jun 13 16:37:55 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 803c770ee0a2833beba2365a269d36fb08cb6f5d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M llvm/include/llvm-c/Orc.h
    M llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
    M llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
    M llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp

  Log Message:
  [C-API][ORC] Add LLVMOrcExecutionSessionLookup -- generic async symbol lookup.

An API to wrap ExecutionSession::lookup, this allows C API clients to use async

The immediate motivation for adding this is to simplify upcoming
definition-generator unit tests.

As we're adding more tests that need to convert between C and C++ flag values
this commit adds helper functions to support this. This patch also updates the
CAPIDefinitionGenerator to use these new utilities.

More information about the All-commits mailing list