[all-commits] [llvm/llvm-project] dc8e5e: [ORC-RT] Add a WrapperFunctionCall utility.

lhames via All-commits all-commits at lists.llvm.org
Thu Oct 28 17:07:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc8e5e1dc03dc49ecde6a19f06e33b3631141b6a
      https://github.com/llvm/llvm-project/commit/dc8e5e1dc03dc49ecde6a19f06e33b3631141b6a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M compiler-rt/lib/orc/unittests/wrapper_function_utils_test.cpp
    M compiler-rt/lib/orc/wrapper_function_utils.h

  Log Message:
  -----------
  [ORC-RT] Add a WrapperFunctionCall utility.

WrapperFunctionCall represents a call to a wrapper function as a pair of a
target function (as an ExecutorAddr), and an argument buffer range (as an
ExecutorAddrRange). WrapperFunctionCall instances can be serialized via
SPS to send to remote machines (only the argument buffer address range is
copied, not any buffer content).

This utility will simplify the implementation of JITLinkMemoryManager
allocation actions in the ORC runtime.




More information about the All-commits mailing list