LLVM  4.0.0
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::lto::InputFile Class Reference

An input file. More...

#include <LTO.h>

Classes

struct  InputModule
 
class  Symbol
 This is a wrapper for ArrayRef<ModuleSymbolTable::Symbol>::iterator that exposes only the information that an LTO client should need in order to do symbol resolution. More...
 
class  symbol_iterator
 

Public Member Functions

 ~InputFile ()
 
iterator_range< symbol_iteratorsymbols ()
 A range over the symbols in this InputFile. More...
 
StringRef getName () const
 Returns the path to the InputFile. More...
 
StringRef getSourceFileName () const
 Returns the source file path specified at compile time. More...
 
ArrayRef< StringRefgetComdatTable () const
 

Static Public Member Functions

static Expected
< std::unique_ptr< InputFile > > 
create (MemoryBufferRef Object)
 Create an InputFile. More...
 

Detailed Description

An input file.

This is a wrapper for ModuleSymbolTable that exposes only the information that an LTO client should need in order to do symbol resolution.

Definition at line 77 of file LTO.h.

Constructor & Destructor Documentation

InputFile::~InputFile ( )
default

Member Function Documentation

Expected< std::unique_ptr< InputFile > > InputFile::create ( MemoryBufferRef  Object)
static
ArrayRef<StringRef> llvm::lto::InputFile::getComdatTable ( ) const
inline

Definition at line 230 of file LTO.h.

StringRef InputFile::getName ( ) const

Returns the path to the InputFile.

Definition at line 293 of file LTO.cpp.

Referenced by writeToResolutionFile().

StringRef InputFile::getSourceFileName ( ) const

Returns the source file path specified at compile time.

Definition at line 297 of file LTO.cpp.

iterator_range<symbol_iterator> llvm::lto::InputFile::symbols ( )
inline

A range over the symbols in this InputFile.

Definition at line 217 of file LTO.h.

References llvm::make_range(), and llvm::ModuleSymbolTable::symbols().

Referenced by writeToResolutionFile().


The documentation for this class was generated from the following files: