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

Methods

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

Description

Returns linker options specified in the input file.

Declared at: llvm/include/llvm/LTO/LTO.h:160

ArrayRef<llvm::StringRef> getComdatTable() const

Declared at: llvm/include/llvm/LTO/LTO.h:175

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

Description

Returns the path to the InputFile.

Declared at: llvm/include/llvm/LTO/LTO.h:166

llvm::BitcodeModule& getSingleBitcodeModule()

Declared at: llvm/include/llvm/LTO/LTO.h:178

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

Description

Returns the input file's target triple.

Declared at: llvm/include/llvm/LTO/LTO.h:169

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()

Declared at: llvm/include/llvm/LTO/LTO.h:125