Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::pdb::InputFile Class Reference

#include "llvm/DebugInfo/PDB/Native/InputFile.h"

Public Member Functions

 InputFile (PDBFile *Pdb)
 InputFile (object::COFFObjectFile *Obj)
 InputFile (MemoryBuffer *Buffer)
LLVM_ABI ~InputFile ()
 InputFile (InputFile &&Other)=default
LLVM_ABI PDBFilepdb ()
LLVM_ABI const PDBFilepdb () const
LLVM_ABI object::COFFObjectFileobj ()
LLVM_ABI const object::COFFObjectFileobj () const
LLVM_ABI MemoryBufferunknown ()
LLVM_ABI const MemoryBufferunknown () const
LLVM_ABI StringRef getFilePath () const
LLVM_ABI bool hasTypes () const
LLVM_ABI bool hasIds () const
LLVM_ABI codeview::LazyRandomTypeCollectiontypes ()
LLVM_ABI codeview::LazyRandomTypeCollectionids ()
LLVM_ABI iterator_range< SymbolGroupIteratorsymbol_groups ()
LLVM_ABI SymbolGroupIterator symbol_groups_begin ()
LLVM_ABI SymbolGroupIterator symbol_groups_end ()
LLVM_ABI bool isPdb () const
LLVM_ABI bool isObj () const
LLVM_ABI bool isUnknown () const

Static Public Member Functions

static LLVM_ABI Expected< InputFileopen (StringRef Path, bool AllowUnknownFile=false)

Detailed Description

Definition at line 40 of file InputFile.h.

Constructor & Destructor Documentation

◆ InputFile() [1/4]

llvm::pdb::InputFile::InputFile ( PDBFile * Pdb)

Definition at line 589 of file InputFile.cpp.

References llvm::codeview::Pdb.

◆ InputFile() [2/4]

llvm::pdb::InputFile::InputFile ( object::COFFObjectFile * Obj)

Definition at line 591 of file InputFile.cpp.

◆ InputFile() [3/4]

llvm::pdb::InputFile::InputFile ( MemoryBuffer * Buffer)

Definition at line 593 of file InputFile.cpp.

◆ ~InputFile()

InputFile::~InputFile ( )
default

References LLVM_ABI.

◆ InputFile() [4/4]

llvm::pdb::InputFile::InputFile ( InputFile && Other)
default

Member Function Documentation

◆ getFilePath()

◆ hasIds()

bool InputFile::hasIds ( ) const

Definition at line 400 of file InputFile.cpp.

References llvm::pdb::PDBFile::hasPDBIpiStream(), isObj(), and pdb().

◆ hasTypes()

bool InputFile::hasTypes ( ) const

◆ ids()

codeview::LazyRandomTypeCollection & InputFile::ids ( )

Definition at line 461 of file InputFile.cpp.

References isObj(), pdb(), and types().

◆ isObj()

bool InputFile::isObj ( ) const

Definition at line 408 of file InputFile.cpp.

References llvm::isa().

Referenced by getFilePath(), hasIds(), ids(), isMyCode(), obj(), and obj().

◆ isPdb()

bool InputFile::isPdb ( ) const

Definition at line 406 of file InputFile.cpp.

References llvm::isa().

Referenced by getFilePath(), hasTypes(), pdb(), and pdb().

◆ isUnknown()

bool InputFile::isUnknown ( ) const

Definition at line 412 of file InputFile.cpp.

References llvm::isa().

Referenced by getFilePath(), unknown(), and unknown().

◆ obj() [1/2]

object::COFFObjectFile & InputFile::obj ( )

Definition at line 359 of file InputFile.cpp.

References assert(), llvm::cast(), and isObj().

Referenced by getFilePath(), and hasTypes().

◆ obj() [2/2]

const object::COFFObjectFile & InputFile::obj ( ) const

Definition at line 364 of file InputFile.cpp.

References assert(), llvm::cast(), and isObj().

◆ open()

◆ pdb() [1/2]

PDBFile & InputFile::pdb ( )

Definition at line 349 of file InputFile.cpp.

References assert(), llvm::cast(), and isPdb().

Referenced by getFilePath(), hasIds(), hasTypes(), and ids().

◆ pdb() [2/2]

const PDBFile & InputFile::pdb ( ) const

Definition at line 354 of file InputFile.cpp.

References assert(), llvm::cast(), and isPdb().

◆ symbol_groups()

iterator_range< SymbolGroupIterator > InputFile::symbol_groups ( )

Definition at line 471 of file InputFile.cpp.

References llvm::make_range(), symbol_groups_begin(), and symbol_groups_end().

◆ symbol_groups_begin()

SymbolGroupIterator InputFile::symbol_groups_begin ( )

Definition at line 476 of file InputFile.cpp.

Referenced by symbol_groups().

◆ symbol_groups_end()

SymbolGroupIterator InputFile::symbol_groups_end ( )

Definition at line 480 of file InputFile.cpp.

Referenced by symbol_groups().

◆ types()

codeview::LazyRandomTypeCollection & InputFile::types ( )

Definition at line 457 of file InputFile.cpp.

Referenced by ids().

◆ unknown() [1/2]

MemoryBuffer & InputFile::unknown ( )

Definition at line 369 of file InputFile.cpp.

References assert(), llvm::cast(), and isUnknown().

Referenced by getFilePath().

◆ unknown() [2/2]

const MemoryBuffer & InputFile::unknown ( ) const

Definition at line 374 of file InputFile.cpp.

References assert(), llvm::cast(), and isUnknown().


The documentation for this class was generated from the following files: