LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LinkItems.cpp File Reference

#include "llvm/Linker.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
#include "llvm/PassManager.h"
#include "llvm/ADT/SetOperations.h"
#include "llvm/Bytecode/Reader.h"
#include "llvm/Bytecode/Archive.h"
#include "llvm/Bytecode/WriteBytecodePass.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Config/config.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/Timer.h"
#include "llvm/System/Signals.h"
#include "llvm/Support/SystemUtils.h"
#include <algorithm>
#include <fstream>
#include <memory>
#include <set>

Include dependency graph for LinkItems.cpp:

Go to the source code of this file.

Functions

static bool LinkOneLibrary (const char *progname, Module *HeadModule, const std::string &Lib, const std::vector< std::string > &LibPaths, bool Verbose, bool Native)
Modulellvm::LinkItems (const char *progname, const LinkItemList &Items, const std::vector< std::string > &LibPaths, bool Verbose, bool Native)
void llvm::BuildLinkItems (LinkItemList &Items, const cl::list< std::string > &Files, const cl::list< std::string > &Libraries)


Function Documentation

static bool LinkOneLibrary const char *  progname,
Module HeadModule,
const std::string &  Lib,
const std::vector< std::string > &  LibPaths,
bool  Verbose,
bool  Native
[static]
 

Definition at line 39 of file LinkItems.cpp.

References llvm::FindLib(), llvm::IsArchive(), and llvm::LinkInArchive().