|
|
|||
File indexing completed on 2026-05-10 08:43:01
0001 /*===-- llvm-c/Linker.h - Module Linker C Interface -------------*- C++ -*-===*\ 0002 |* *| 0003 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| 0004 |* Exceptions. *| 0005 |* See https://llvm.org/LICENSE.txt for license information. *| 0006 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *| 0007 |* *| 0008 |*===----------------------------------------------------------------------===*| 0009 |* *| 0010 |* This file defines the C interface to the module/file/archive linker. *| 0011 |* *| 0012 \*===----------------------------------------------------------------------===*/ 0013 0014 #ifndef LLVM_C_LINKER_H 0015 #define LLVM_C_LINKER_H 0016 0017 #include "llvm-c/ExternC.h" 0018 #include "llvm-c/Types.h" 0019 0020 LLVM_C_EXTERN_C_BEGIN 0021 0022 /** 0023 * @defgroup LLVMCCoreLinker Linker 0024 * @ingroup LLVMCCore 0025 * 0026 * @{ 0027 */ 0028 0029 /* This enum is provided for backwards-compatibility only. It has no effect. */ 0030 typedef enum { 0031 LLVMLinkerDestroySource = 0, /* This is the default behavior. */ 0032 LLVMLinkerPreserveSource_Removed = 1 /* This option has been deprecated and 0033 should not be used. */ 0034 } LLVMLinkerMode; 0035 0036 /* Links the source module into the destination module. The source module is 0037 * destroyed. 0038 * The return value is true if an error occurred, false otherwise. 0039 * Use the diagnostic handler to get any diagnostic message. 0040 */ 0041 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src); 0042 0043 LLVM_C_EXTERN_C_END 0044 0045 /** 0046 * @} 0047 */ 0048 0049 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|