[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / lib / ExecutionEngine / Orc / Debugging / LLJITUtilsCBindings.cpp
blob2df5aef733fb32c43152b51745a009c177758fa5
1 //===--------- LLJITUtilsCBindings.cpp - Advanced LLJIT features ----------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "llvm-c/LLJIT.h"
10 #include "llvm-c/LLJITUtils.h"
12 #include "llvm/ExecutionEngine/Orc/Debugging/DebuggerSupport.h"
13 #include "llvm/ExecutionEngine/Orc/LLJIT.h"
15 using namespace llvm;
16 using namespace llvm::orc;
18 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLJIT, LLVMOrcLLJITRef)
20 LLVMErrorRef LLVMOrcLLJITEnableDebugSupport(LLVMOrcLLJITRef J) {
21 return wrap(llvm::orc::enableDebuggerSupport(*unwrap(J)));