diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2021-02-06 01:32:40 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-02-06 01:32:50 +0000 |
commit | d6efb6fc86a6ded63fc50e3a31377a1f4aa33c6e (patch) | |
tree | 4f8190338a61d30246d09c384db5b5889c6e73d9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 0453d2ddb4742e550b85f204424e04dcd7b9db00 (diff) | |
download | llvm-d6efb6fc86a6ded63fc50e3a31377a1f4aa33c6e.zip llvm-d6efb6fc86a6ded63fc50e3a31377a1f4aa33c6e.tar.gz llvm-d6efb6fc86a6ded63fc50e3a31377a1f4aa33c6e.tar.bz2 |
Rework ExecutionEngine::invoke() to make it more friendly to use from C++
This new invoke will pack a list of argument before calling the
`invokePacked` method. It accepts returned value as output argument
wrapped in `ExecutionEngine::Result<T>`, and delegate the packing of
arguments to a trait to allow for customization for some types.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D95961
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions