1 //===- SupportBindings.h - Additional bindings for Support ------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file defines additional C bindings for the Support component.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_BINDINGS_GO_LLVM_SUPPORTBINDINGS_H
14 #define LLVM_BINDINGS_GO_LLVM_SUPPORTBINDINGS_H
20 // This function duplicates the LLVMLoadLibraryPermanently function in the
21 // stable C API and adds an extra ErrMsg parameter to retrieve the error
23 void LLVMLoadLibraryPermanently2(const char *Filename
, char **ErrMsg
);