|
LLVM
4.0.0
|
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_iterator > | symbols () |
| 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< StringRef > | getComdatTable () const |
Static Public Member Functions | |
| static Expected < std::unique_ptr< InputFile > > | create (MemoryBufferRef Object) |
| Create an InputFile. More... | |
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.
|
default |
|
static |
Create an InputFile.
Definition at line 234 of file LTO.cpp.
References assert(), C, llvm::errorCodeToError(), llvm::ARMBuildAttrs::File, llvm::object::IRObjectFile::findBitcodeInMemBuffer(), llvm::Expected< T >::get(), llvm::getBitcodeModuleList(), llvm::ErrorOr< T >::getError(), llvm::inconvertibleErrorCode(), P, and llvm::Expected< T >::takeError().
| 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 |
|
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().
1.8.6