|
LLVM 22.0.0git
|
#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 PDBFile & | pdb () |
| LLVM_ABI const PDBFile & | pdb () const |
| LLVM_ABI object::COFFObjectFile & | obj () |
| LLVM_ABI const object::COFFObjectFile & | obj () const |
| LLVM_ABI MemoryBuffer & | unknown () |
| LLVM_ABI const MemoryBuffer & | unknown () const |
| LLVM_ABI StringRef | getFilePath () const |
| LLVM_ABI bool | hasTypes () const |
| LLVM_ABI bool | hasIds () const |
| LLVM_ABI codeview::LazyRandomTypeCollection & | types () |
| LLVM_ABI codeview::LazyRandomTypeCollection & | ids () |
| LLVM_ABI iterator_range< SymbolGroupIterator > | symbol_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< InputFile > | open (StringRef Path, bool AllowUnknownFile=false) |
Definition at line 40 of file InputFile.h.
| llvm::pdb::InputFile::InputFile | ( | PDBFile * | Pdb | ) |
Definition at line 589 of file InputFile.cpp.
References llvm::codeview::Pdb.
| llvm::pdb::InputFile::InputFile | ( | object::COFFObjectFile * | Obj | ) |
Definition at line 591 of file InputFile.cpp.
| llvm::pdb::InputFile::InputFile | ( | MemoryBuffer * | Buffer | ) |
Definition at line 593 of file InputFile.cpp.
|
default |
References LLVM_ABI.
|
default |
References LLVM_ABI, llvm::Other, and llvm::pdb::Path.
| StringRef InputFile::getFilePath | ( | ) | const |
Definition at line 379 of file InputFile.cpp.
References assert(), llvm::MemoryBuffer::getBufferIdentifier(), llvm::object::Binary::getFileName(), llvm::pdb::PDBFile::getFilePath(), isObj(), isPdb(), isUnknown(), obj(), pdb(), and unknown().
| bool InputFile::hasIds | ( | ) | const |
Definition at line 400 of file InputFile.cpp.
References llvm::pdb::PDBFile::hasPDBIpiStream(), isObj(), and pdb().
| bool InputFile::hasTypes | ( | ) | const |
Definition at line 388 of file InputFile.cpp.
References llvm::pdb::PDBFile::hasPDBTpiStream(), isDebugTSection(), isPdb(), obj(), pdb(), and sections.
| codeview::LazyRandomTypeCollection & InputFile::ids | ( | ) |
Definition at line 461 of file InputFile.cpp.
| bool InputFile::isObj | ( | ) | const |
Definition at line 408 of file InputFile.cpp.
References llvm::isa().
Referenced by getFilePath(), hasIds(), ids(), isMyCode(), obj(), and obj().
| bool InputFile::isPdb | ( | ) | const |
Definition at line 406 of file InputFile.cpp.
References llvm::isa().
Referenced by getFilePath(), hasTypes(), pdb(), and pdb().
| bool InputFile::isUnknown | ( | ) | const |
Definition at line 412 of file InputFile.cpp.
References llvm::isa().
Referenced by getFilePath(), unknown(), and unknown().
| object::COFFObjectFile & InputFile::obj | ( | ) |
Definition at line 359 of file InputFile.cpp.
References assert(), llvm::cast(), and isObj().
Referenced by getFilePath(), and hasTypes().
| const object::COFFObjectFile & InputFile::obj | ( | ) | const |
Definition at line 364 of file InputFile.cpp.
References assert(), llvm::cast(), and isObj().
Definition at line 301 of file InputFile.cpp.
References llvm::cast(), llvm::file_magic::coff_object, llvm::object::createBinary(), llvm::codeview::EC, llvm::sys::fs::exists(), llvm::formatv(), llvm::MemoryBuffer::getFile(), llvm::identify_magic(), llvm::inconvertibleErrorCode(), llvm::pdb::loadDataForPDB(), llvm::make_error(), llvm::pdb::Native, llvm::pdb::Path, llvm::file_magic::pdb, and llvm::Expected< T >::takeError().
| PDBFile & InputFile::pdb | ( | ) |
Definition at line 349 of file InputFile.cpp.
References assert(), llvm::cast(), and isPdb().
Referenced by getFilePath(), hasIds(), hasTypes(), and ids().
Definition at line 354 of file InputFile.cpp.
References assert(), llvm::cast(), and isPdb().
| 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().
| SymbolGroupIterator InputFile::symbol_groups_begin | ( | ) |
Definition at line 476 of file InputFile.cpp.
Referenced by symbol_groups().
| SymbolGroupIterator InputFile::symbol_groups_end | ( | ) |
Definition at line 480 of file InputFile.cpp.
Referenced by symbol_groups().
| codeview::LazyRandomTypeCollection & InputFile::types | ( | ) |
Definition at line 457 of file InputFile.cpp.
Referenced by ids().
| MemoryBuffer & InputFile::unknown | ( | ) |
Definition at line 369 of file InputFile.cpp.
References assert(), llvm::cast(), and isUnknown().
Referenced by getFilePath().
| const MemoryBuffer & InputFile::unknown | ( | ) | const |
Definition at line 374 of file InputFile.cpp.
References assert(), llvm::cast(), and isUnknown().