LLVM  14.0.0git
Functions
LinkModules.cpp File Reference
#include "LinkDiagnosticInfo.h"
#include "llvm-c/Linker.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/IR/Comdat.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Linker/Linker.h"
#include "llvm/Support/Error.h"
Include dependency graph for LinkModules.cpp:

Go to the source code of this file.

Functions

static GlobalValue::VisibilityTypes getMinVisibility (GlobalValue::VisibilityTypes A, GlobalValue::VisibilityTypes B)
 
LLVMBool LLVMLinkModules2 (LLVMModuleRef Dest, LLVMModuleRef Src)
 

Function Documentation

◆ getMinVisibility()

◆ LLVMLinkModules2()

LLVMBool LLVMLinkModules2 ( LLVMModuleRef  Dest,
LLVMModuleRef  Src 
)

Definition at line 631 of file LinkModules.cpp.

References D, llvm::Linker::linkModules(), M, move, and llvm::unwrap().