1f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot/*===-- llvm-c/Linker.h - Module Linker C Interface -------------*- C++ -*-===*\ 2f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* *| 3f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* The LLVM Compiler Infrastructure *| 4f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* *| 5f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* This file is distributed under the University of Illinois Open Source *| 6f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* License. See LICENSE.TXT for details. *| 7f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* *| 8f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|*===----------------------------------------------------------------------===*| 9f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* *| 10f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* This file defines the C interface to the module/file/archive linker. *| 11f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot|* *| 12f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot\*===----------------------------------------------------------------------===*/ 13f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 14f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#ifndef LLVM_C_LINKER_H 15f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#define LLVM_C_LINKER_H 16f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 17f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#include "llvm-c/Types.h" 18f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 19f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#ifdef __cplusplus 20f3014761c955345d6e05491608e73228d014afbandroid-build-team Robotextern "C" { 21f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#endif 22f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 23f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot/* This enum is provided for backwards-compatibility only. It has no effect. */ 24f3014761c955345d6e05491608e73228d014afbandroid-build-team Robottypedef enum { 25f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot LLVMLinkerDestroySource = 0, /* This is the default behavior. */ 26f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot LLVMLinkerPreserveSource_Removed = 1 /* This option has been deprecated and 27f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot should not be used. */ 28f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot} LLVMLinkerMode; 29f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 30f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot/* Links the source module into the destination module. The source module is 31f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot * destroyed. 32f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot * The return value is true if an error occurred, false otherwise. 33f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot * Use the diagnostic handler to get any diagnostic message. 34f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot*/ 35f3014761c955345d6e05491608e73228d014afbandroid-build-team RobotLLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src); 36f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 37f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#ifdef __cplusplus 38f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot} 39f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#endif 40f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot 41f3014761c955345d6e05491608e73228d014afbandroid-build-team Robot#endif 42