[all-commits] [llvm/llvm-project] 8614cb: [ORC-RT] Add non-const WrapperFunctionResult data ...
lhames via All-commits
all-commits at lists.llvm.org
Tue Aug 24 00:35:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8614cb9f999dc712138a553a710220b299576f41
https://github.com/llvm/llvm-project/commit/8614cb9f999dc712138a553a710220b299576f41
Author: Lang Hames <lhames at gmail.com>
Date: 2021-08-24 (Tue, 24 Aug 2021)
Changed paths:
M compiler-rt/lib/orc/c_api.h
M compiler-rt/lib/orc/wrapper_function_utils.h
Log Message:
-----------
[ORC-RT] Add non-const WrapperFunctionResult data access, simplify allocate.
WrapperFunctionResult no longer supports wrapping constant data, so this patch
provides direct non-const access to the wrapped data. Since wrapped data can now
be written, the WrapperFunctionResult::allocate method can be simplified to
return a WrapperFunctionResult.
This is essentially the same change (and with the same motivation) as LLVM
commit 8b117830b1b, but applied to the ORC runtime's WrapperFunctionResult code.
More information about the All-commits
mailing list