|
LLVM 22.0.0git
|
An input file. More...
#include "llvm/LTO/LTO.h"
Classes | |
| struct | Symbol |
| The purpose of this struct is to only expose the symbol information that an LTO client should need in order to do symbol resolution. More... | |
Public Member Functions | |
| LLVM_ABI | ~InputFile () |
| ArrayRef< Symbol > | symbols () const |
| A range over the symbols in this InputFile. | |
| StringRef | getCOFFLinkerOpts () const |
| Returns linker options specified in the input file. | |
| ArrayRef< StringRef > | getDependentLibraries () const |
| Returns dependent library specifiers from the input file. | |
| LLVM_ABI StringRef | getName () const |
| Returns the path to the InputFile. | |
| StringRef | getTargetTriple () const |
| Returns the input file's target triple. | |
| StringRef | getSourceFileName () const |
| Returns the source file path specified at compile time. | |
| ArrayRef< std::pair< StringRef, Comdat::SelectionKind > > | getComdatTable () const |
| LLVM_ABI BitcodeModule & | getSingleBitcodeModule () |
Static Public Member Functions | |
| static LLVM_ABI Expected< std::unique_ptr< InputFile > > | create (MemoryBufferRef Object) |
| Create an InputFile. | |
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 |
References LLVM_ABI.
|
static |
Create an InputFile.
Definition at line 568 of file LTO.cpp.
References I, llvm::object::readIRSymtab(), and llvm::Expected< T >::takeError().
Referenced by llvm::ThinLTOCodeGenerator::addModule(), and llvm::LTOModule::createInputFile().
|
inline |
|
inline |
Returns dependent library specifiers from the input file.
Definition at line 173 of file LTO.h.
Referenced by llvm::LTOModule::getDependentLibrary(), and llvm::LTOModule::getDependentLibraryCount().
| StringRef InputFile::getName | ( | ) | const |
| BitcodeModule & InputFile::getSingleBitcodeModule | ( | ) |
|
inline |
|
inline |