LLVM API Documentation

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

Linker.h File Reference

#include "llvm/Support/CommandLine.h"
#include <string>
#include <vector>
#include <set>

Include dependency graph for Linker.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm

Typedefs

typedef std::vector< std::pair<
std::string, bool > > 
llvm::LinkItemList
 A list of string/bool pairs.

Functions

Modulellvm::LinkItems (const char *progname, const LinkItemList &Items, const std::vector< std::string > &LibPaths, bool Verbose, bool Native)
void llvm::BuildLinkItems (LinkItemList &OutList, const cl::list< std::string > &Files, const cl::list< std::string > &Libs)
bool llvm::LinkModules (Module *Dest, Module *Src, std::string *ErrorMsg)
 Link two modules together.
bool llvm::LinkFiles (const char *progname, Module *HeadModule, const std::vector< std::string > &Files, bool Verbose)
bool llvm::LinkInArchive (Module *HeadModule, const std::string &Filename, std::string *ErrorMsg, bool Verbose)
 Link in one archive.
void llvm::LinkLibraries (const char *progname, Module *HeadModule, const std::vector< std::string > &Libraries, const std::vector< std::string > &LibPaths, bool Verbose, bool Native)
 Link libraries into a module.
void llvm::GetAllDefinedSymbols (Module *M, std::set< std::string > &DefinedSymbols)
void llvm::GetAllUndefinedSymbols (Module *M, std::set< std::string > &UndefinedSymbols)
std::string llvm::FindLib (const std::string &Filename, const std::vector< std::string > &Paths, bool SharedObjectOnly=false)