[PATCH] D118447: [llvm] Fix ORCv2 C Binding
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 16:08:44 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGda18ceb4b1d5: [llvm-c][ORC] Fix LLVMOrcObjectLayerAddObjectFileWithRT. (authored by leifhelm, committed by lhames).
Changed prior to commit:
https://reviews.llvm.org/D118447?vs=403936&id=508829#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118447/new/
https://reviews.llvm.org/D118447
Files:
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
Index: llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
===================================================================
--- llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
+++ llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
@@ -847,9 +847,9 @@
*unwrap(JD), std::unique_ptr<MemoryBuffer>(unwrap(ObjBuffer))));
}
-LLVMErrorRef LLVMOrcLLJITAddObjectFileWithRT(LLVMOrcObjectLayerRef ObjLayer,
- LLVMOrcResourceTrackerRef RT,
- LLVMMemoryBufferRef ObjBuffer) {
+LLVMErrorRef LLVMOrcObjectLayerAddObjectFileWithRT(LLVMOrcObjectLayerRef ObjLayer,
+ LLVMOrcResourceTrackerRef RT,
+ LLVMMemoryBufferRef ObjBuffer) {
return wrap(
unwrap(ObjLayer)->add(ResourceTrackerSP(unwrap(RT)),
std::unique_ptr<MemoryBuffer>(unwrap(ObjBuffer))));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118447.508829.patch
Type: text/x-patch
Size: 965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230327/fc0ff256/attachment.bin>
More information about the llvm-commits
mailing list