OSDN Git Service

[ORC][C-bindings] Fix some ORC C bindings function names and signatures.
authorLang Hames <lhames@gmail.com>
Sun, 28 Mar 2021 23:30:47 +0000 (16:30 -0700)
committerTom Stellard <tstellar@redhat.com>
Fri, 2 Apr 2021 05:25:16 +0000 (22:25 -0700)
commit04ba60cfe598e41084fb848daae47e0ed910fa7d
tree5805e035c09641b55863fafbe37584f84284df67
parent31001be371e8f2c74470e727e54503fb2aabec8b
[ORC][C-bindings] Fix some ORC C bindings function names and signatures.

LLVMOrcDisposeObjectLayer and LLVMOrcExecutionSessionGetJITDylibByName did not
have matching signatures between the C-API header and binding implementations.
Fixes http://llvm.org/PR49745.

Patch by Mats Larsen. Thanks Mats!

Reviewed by: lhames

Differential Revision: https://reviews.llvm.org/D99478

(cherry picked from commit 666df2e2cbe9fc252d3b2d6cbb214c2c2f6afc65)
llvm/include/llvm-c/Orc.h
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp