[all-commits] [llvm/llvm-project] 8b1178: [ORC] Add non-const WrapperFunctionResult::data me...

lhames via All-commits all-commits at lists.llvm.org
Tue Aug 24 00:15:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b117830b1b16b235e3d8447a4a70d624b69c641
      https://github.com/llvm/llvm-project/commit/8b117830b1b16b235e3d8447a4a70d624b69c641
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/OrcRPCTPCServer.h
    M llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp

  Log Message:
  -----------
  [ORC] Add non-const WrapperFunctionResult::data method, simplify allocate.

WrapperFunctionResult no longer supports wrapping constant data, so this patch
adds a non-const data method. Since data can now be written through the data
method, the allocate method can be simplified to return a WrapperFunctionResult.




More information about the All-commits mailing list