[all-commits] [llvm/llvm-project] 14b7c1: [C-API][ORC] Add C API to suspend lookups during d...

lhames via All-commits all-commits at lists.llvm.org
Mon Jun 13 17:50:28 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14b7c108a2bf46541efc3a5c9cbd589b3afc18e6
  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/Orc/OrcV2CBindings.cpp
    M llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp

  Log Message:
  [C-API][ORC] Add C API to suspend lookups during definition generation.

Slow definition generators may suspend lookups to temporarily release the
session lock, allowing unrelated lookups to proceed.

Using this functionality is discouraged: it is best to make definition
generation fast, rather than suspending the lookup. As a last resort where
this is not possible, suspension may be used.

More information about the All-commits mailing list