class InputFile
Declaration
class InputFile { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/LTO/LTO.h:104
Method Overview
- public static Expected<std::unique_ptr<InputFile>> create(llvm::MemoryBufferRef Object)
- public llvm::StringRef getCOFFLinkerOpts() const
- public ArrayRef<llvm::StringRef> getComdatTable() const
- public ArrayRef<llvm::StringRef> getDependentLibraries() const
- public llvm::StringRef getName() const
- public llvm::BitcodeModule & getSingleBitcodeModule()
- public llvm::StringRef getSourceFileName() const
- public llvm::StringRef getTargetTriple() const
- public ArrayRef<llvm::lto::InputFile::Symbol> symbols() const
- public ~InputFile()
Methods
¶static Expected<std::unique_ptr<InputFile>>
create(llvm::MemoryBufferRef Object)
static Expected<std::unique_ptr<InputFile>>
create(llvm::MemoryBufferRef Object)
Description
Create an InputFile.
Declared at: llvm/include/llvm/LTO/LTO.h:128
Parameters
- llvm::MemoryBufferRef Object
¶llvm::StringRef getCOFFLinkerOpts() const
llvm::StringRef getCOFFLinkerOpts() const
Description
Returns linker options specified in the input file.
Declared at: llvm/include/llvm/LTO/LTO.h:160
¶ArrayRef<llvm::StringRef> getComdatTable() const
ArrayRef<llvm::StringRef> getComdatTable() const
Declared at: llvm/include/llvm/LTO/LTO.h:175
¶ArrayRef<llvm::StringRef> getDependentLibraries()
const
ArrayRef<llvm::StringRef> getDependentLibraries()
const
Description
Returns dependent library specifiers from the input file.
Declared at: llvm/include/llvm/LTO/LTO.h:163
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Description
Returns the path to the InputFile.
Declared at: llvm/include/llvm/LTO/LTO.h:166
¶llvm::BitcodeModule& getSingleBitcodeModule()
llvm::BitcodeModule& getSingleBitcodeModule()
Declared at: llvm/include/llvm/LTO/LTO.h:178
¶llvm::StringRef getSourceFileName() const
llvm::StringRef getSourceFileName() const
Description
Returns the source file path specified at compile time.
Declared at: llvm/include/llvm/LTO/LTO.h:172
¶llvm::StringRef getTargetTriple() const
llvm::StringRef getTargetTriple() const
Description
Returns the input file's target triple.
Declared at: llvm/include/llvm/LTO/LTO.h:169
¶ArrayRef<llvm::lto::InputFile::Symbol> symbols()
const
ArrayRef<llvm::lto::InputFile::Symbol> symbols()
const
Description
A range over the symbols in this InputFile.
Declared at: llvm/include/llvm/LTO/LTO.h:157
¶~InputFile()
~InputFile()
Declared at: llvm/include/llvm/LTO/LTO.h:125