LLVM
8.0.1
|
An input file. More...
#include "llvm/LTO/LTO.h"
Classes | |
class | Symbol |
The purpose of this class is to only expose the symbol information that an LTO client should need in order to do symbol resolution. More... | |
Public Member Functions | |
~InputFile () | |
ArrayRef< Symbol > | symbols () const |
A range over the symbols in this InputFile. More... | |
StringRef | getCOFFLinkerOpts () const |
Returns linker options specified in the input file. More... | |
StringRef | getName () const |
Returns the path to the InputFile. More... | |
StringRef | getTargetTriple () const |
Returns the input file's target triple. 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 symbol table wrapper that only exposes the information that an LTO client should need in order to do symbol resolution.
|
default |
Referenced by llvm::thinLTOInternalizeAndPromoteInIndex().
|
static |
Create an InputFile.
Definition at line 390 of file LTO.cpp.
References llvm::ARMBuildAttrs::File, I, llvm::object::readIRSymtab(), and llvm::Expected< T >::takeError().
|
inline |
Returns linker options specified in the input file.
Definition at line 149 of file LTO.h.
References llvm::irsymtab::Symbol::getName().
Definition at line 161 of file LTO.h.
References llvm::ArrayRef< T >::data(), and I.
StringRef InputFile::getName | ( | ) | const |
Returns the path to the InputFile.
Definition at line 418 of file LTO.cpp.
References llvm::lto::createInProcessThinBackend(), and llvm::heavyweight_hardware_concurrency().
Referenced by writeToResolutionFile().
|
inline |
|
inline |
A range over the symbols in this InputFile.
Definition at line 146 of file LTO.h.
Referenced by writeToResolutionFile().