llvm::lto::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.

Synopsis

Declared in <llvm/LTO/LTO.h>

class InputFile;

Types

NameDescription
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.

Member Functions

NameDescription
~InputFile [destructor]Destroy this input file.
fatLTOObject Mark this bitcode as coming from a FatLTO object.
getArchivePath Returns the path to the containing archive, if any.
getCOFFLinkerOpts Returns linker options specified in the input file.
getComdatTable Returns a table with all the comdats used by this file.
getDependentLibraries Returns dependent library specifiers from the input file.
getExtractForDistribution Returns true if this input should be extracted to disk for distribution.
getFileBuffer Returns the memory buffer reference for this input file.
getMemberName Returns the archive member name, if any.
getName Returns the path to the InputFile.
getPrimaryBitcodeModule Returns the primary BitcodeModule from InputFile.
getSingleBitcodeModule Returns the only BitcodeModule from InputFile.
getSourceFileName Returns the source file path specified at compile time.
getTargetTriple Returns the input file's target triple.
isFatLTOObject Returns true if this bitcode came from a FatLTO object.
isThinLTO Returns true if bitcode is ThinLTO.
setArchivePathAndName Store an archive path and a member name.
setExtractForDistribution Mark whether this input should be extracted to disk for distribution.
symbols A range over the symbols in this InputFile.

Static Member Functions

NameDescription
create Create an InputFile.

Friends

NameDescription
llvm::lto::LTOResolution-based interface to LLVM's LTO functionality.