[all-commits] [llvm/llvm-project] 4eb9fe: [ORC] Port WrapperFunctionUtils and SimplePackedSe...

lhames via All-commits all-commits at lists.llvm.org
Tue Jun 15 04:14:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eb9fe2e1a073301ed71bf36b13805802ce8ca47
      https://github.com/llvm/llvm-project/commit/4eb9fe2e1a073301ed71bf36b13805802ce8ca47
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/OrcRPCTargetProcessControl.h
    A llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
    A llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/OrcRPCTPCServer.h
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcessControl.h
    M llvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
    R llvm/lib/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcessControl.cpp
    M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/Orc/SimplePackedSerializationTest.cpp
    A llvm/unittests/ExecutionEngine/Orc/WrapperFunctionUtilsTest.cpp

  Log Message:
  -----------
  [ORC] Port WrapperFunctionUtils and SimplePackedSerialization from ORC runtime.

Replace the existing WrapperFunctionResult type in
llvm/include/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h with a
version adapted from the ORC runtime's implementation.

Also introduce the SimplePackedSerialization scheme (also adapted from the ORC
runtime's implementation) for wrapper functions to avoid manual serialization
and deserialization for calls to runtime functions involving common types.




More information about the All-commits mailing list