class InputFile
Declaration
class InputFile { /* full declaration omitted */ };
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:40
Member Variables
- private std::unique_ptr<NativeSession> PdbSession
- private object::OwningBinary<object::Binary> CoffObject
- private std::unique_ptr<MemoryBuffer> UnknownFile
- private PointerUnion<llvm::pdb::PDBFile*, object::COFFObjectFile*, llvm::MemoryBuffer*> PdbOrObj
- private llvm::pdb::InputFile::TypeCollectionPtr Types
- private llvm::pdb::InputFile::TypeCollectionPtr Ids
Method Overview
- public InputFile(llvm::pdb::PDBFile * Pdb)
- public InputFile(object::COFFObjectFile * Obj)
- public InputFile(llvm::MemoryBuffer * Buffer)
- private InputFile()
- public InputFile(llvm::pdb::InputFile && Other)
- public llvm::StringRef getFilePath() const
- private codeview::LazyRandomTypeCollection & getOrCreateTypeCollection(llvm::pdb::InputFile::TypeCollectionKind Kind)
- public bool hasIds() const
- public bool hasTypes() const
- public codeview::LazyRandomTypeCollection & ids()
- public bool isObj() const
- public bool isPdb() const
- public bool isUnknown() const
- public const object::COFFObjectFile & obj() const
- public object::COFFObjectFile & obj()
- public static Expected<llvm::pdb::InputFile> open(llvm::StringRef Path, bool AllowUnknownFile = false)
- public const llvm::pdb::PDBFile & pdb() const
- public llvm::pdb::PDBFile & pdb()
- public iterator_range<llvm::pdb::SymbolGroupIterator> symbol_groups()
- public llvm::pdb::SymbolGroupIterator symbol_groups_begin()
- public llvm::pdb::SymbolGroupIterator symbol_groups_end()
- public codeview::LazyRandomTypeCollection & types()
- public const llvm::MemoryBuffer & unknown() const
- public llvm::MemoryBuffer & unknown()
- public ~InputFile()
Methods
¶InputFile(llvm::pdb::PDBFile* Pdb)
InputFile(llvm::pdb::PDBFile* Pdb)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:58
Parameters
- llvm::pdb::PDBFile* Pdb
¶InputFile(object::COFFObjectFile* Obj)
InputFile(object::COFFObjectFile* Obj)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:59
Parameters
¶InputFile(llvm::MemoryBuffer* Buffer)
InputFile(llvm::MemoryBuffer* Buffer)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:60
Parameters
- llvm::MemoryBuffer* Buffer
¶InputFile()
InputFile()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:41
¶InputFile(llvm::pdb::InputFile&& Other)
InputFile(llvm::pdb::InputFile&& Other)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:62
Parameters
- llvm::pdb::InputFile&& Other
¶llvm::StringRef getFilePath() const
llvm::StringRef getFilePath() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:74
¶codeview::LazyRandomTypeCollection&
getOrCreateTypeCollection(
llvm::pdb::InputFile::TypeCollectionKind Kind)
codeview::LazyRandomTypeCollection&
getOrCreateTypeCollection(
llvm::pdb::InputFile::TypeCollectionKind Kind)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:55
Parameters
- llvm::pdb::InputFile::TypeCollectionKind Kind
¶bool hasIds() const
bool hasIds() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:77
¶bool hasTypes() const
bool hasTypes() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:76
¶codeview::LazyRandomTypeCollection& ids()
codeview::LazyRandomTypeCollection& ids()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:80
¶bool isObj() const
bool isObj() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:87
¶bool isPdb() const
bool isPdb() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:86
¶bool isUnknown() const
bool isUnknown() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:88
¶const object::COFFObjectFile& obj() const
const object::COFFObjectFile& obj() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:70
¶object::COFFObjectFile& obj()
object::COFFObjectFile& obj()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:69
¶static Expected<llvm::pdb::InputFile> open(
llvm::StringRef Path,
bool AllowUnknownFile = false)
static Expected<llvm::pdb::InputFile> open(
llvm::StringRef Path,
bool AllowUnknownFile = false)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:64
Parameters
- llvm::StringRef Path
- bool AllowUnknownFile = false
¶const llvm::pdb::PDBFile& pdb() const
const llvm::pdb::PDBFile& pdb() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:68
¶llvm::pdb::PDBFile& pdb()
llvm::pdb::PDBFile& pdb()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:67
¶iterator_range<llvm::pdb::SymbolGroupIterator>
symbol_groups()
iterator_range<llvm::pdb::SymbolGroupIterator>
symbol_groups()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:82
¶llvm::pdb::SymbolGroupIterator
symbol_groups_begin()
llvm::pdb::SymbolGroupIterator
symbol_groups_begin()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:83
¶llvm::pdb::SymbolGroupIterator symbol_groups_end()
llvm::pdb::SymbolGroupIterator symbol_groups_end()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:84
¶codeview::LazyRandomTypeCollection& types()
codeview::LazyRandomTypeCollection& types()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:79
¶const llvm::MemoryBuffer& unknown() const
const llvm::MemoryBuffer& unknown() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:72
¶llvm::MemoryBuffer& unknown()
llvm::MemoryBuffer& unknown()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:71
¶~InputFile()
~InputFile()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h:61