LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
Public Member Functions | |
DbiModuleDescriptor ()=default | |
DbiModuleDescriptor (const DbiModuleDescriptor &Info)=default | |
DbiModuleDescriptor & | operator= (const DbiModuleDescriptor &Info)=default |
bool | hasECInfo () const |
uint16_t | getTypeServerIndex () const |
uint16_t | getModuleStreamIndex () const |
uint32_t | getSymbolDebugInfoByteSize () const |
uint32_t | getC11LineInfoByteSize () const |
uint32_t | getC13LineInfoByteSize () const |
uint32_t | getNumberOfFiles () const |
uint32_t | getSourceFileNameIndex () const |
uint32_t | getPdbFilePathNameIndex () const |
StringRef | getModuleName () const |
StringRef | getObjFileName () const |
uint32_t | getRecordLength () const |
const SectionContrib & | getSectionContrib () const |
Static Public Member Functions | |
static Error | initialize (BinaryStreamRef Stream, DbiModuleDescriptor &Info) |
Friends | |
class | DbiStreamBuilder |
Definition at line 23 of file DbiModuleDescriptor.h.
|
default |
|
default |
uint32_t DbiModuleDescriptor::getC11LineInfoByteSize | ( | ) | const |
Definition at line 55 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::C11Bytes.
uint32_t DbiModuleDescriptor::getC13LineInfoByteSize | ( | ) | const |
Definition at line 59 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::C13Bytes.
StringRef DbiModuleDescriptor::getModuleName | ( | ) | const |
Definition at line 75 of file DbiModuleDescriptor.cpp.
uint16_t DbiModuleDescriptor::getModuleStreamIndex | ( | ) | const |
Definition at line 47 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::ModDiStream.
Referenced by llvm::pdb::NativeSession::getModuleDebugStream(), and llvm::pdb::ModuleDebugStreamRef::reload().
uint32_t DbiModuleDescriptor::getNumberOfFiles | ( | ) | const |
Definition at line 63 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::NumFiles.
StringRef DbiModuleDescriptor::getObjFileName | ( | ) | const |
Definition at line 77 of file DbiModuleDescriptor.cpp.
uint32_t DbiModuleDescriptor::getPdbFilePathNameIndex | ( | ) | const |
Definition at line 71 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::PdbFilePathNI.
uint32_t DbiModuleDescriptor::getRecordLength | ( | ) | const |
Definition at line 79 of file DbiModuleDescriptor.cpp.
References llvm::alignTo(), Size, and llvm::StringRef::str().
const SectionContrib & DbiModuleDescriptor::getSectionContrib | ( | ) | const |
Definition at line 43 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::SC.
uint32_t DbiModuleDescriptor::getSourceFileNameIndex | ( | ) | const |
Definition at line 67 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::SrcFileNameNI.
uint32_t DbiModuleDescriptor::getSymbolDebugInfoByteSize | ( | ) | const |
Definition at line 51 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::SymBytes.
uint16_t DbiModuleDescriptor::getTypeServerIndex | ( | ) | const |
Definition at line 38 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::Flags, llvm::pdb::ModInfoFlags::TypeServerIndexMask, and llvm::pdb::ModInfoFlags::TypeServerIndexShift.
bool DbiModuleDescriptor::hasECInfo | ( | ) | const |
Definition at line 34 of file DbiModuleDescriptor.cpp.
References llvm::pdb::ModuleInfoHeader::Flags, and llvm::pdb::ModInfoFlags::HasECFlagMask.
|
static |
Definition at line 20 of file DbiModuleDescriptor.cpp.
References Info, llvm::BinaryStreamReader::readCString(), llvm::BinaryStreamReader::readObject(), and llvm::Error::success().
Referenced by llvm::VarStreamArrayExtractor< pdb::DbiModuleDescriptor >::operator()().
|
default |
|
friend |
Definition at line 24 of file DbiModuleDescriptor.h.