LLVM 20.0.0git
|
Namespaces | |
namespace | detail |
Classes | |
struct | DebugHSection |
struct | GlobalHash |
struct | HexFormattedString |
struct | InlineeInfo |
struct | InlineeSite |
struct | LeafRecord |
struct | MemberRecord |
struct | SourceColumnEntry |
struct | SourceFileChecksumEntry |
struct | SourceLineBlock |
struct | SourceLineEntry |
struct | SourceLineInfo |
struct | SymbolRecord |
struct | YAMLCrossModuleImport |
struct | YAMLDebugSubsection |
struct | YAMLFrameData |
Functions | |
Expected< std::vector< std::shared_ptr< codeview::DebugSubsection > > > | toCodeViewSubsectionList (BumpPtrAllocator &Allocator, ArrayRef< YAMLDebugSubsection > Subsections, const codeview::StringsAndChecksums &SC) |
std::vector< YAMLDebugSubsection > | fromDebugS (ArrayRef< uint8_t > Data, const codeview::StringsAndChecksumsRef &SC) |
void | initializeStringsAndChecksums (ArrayRef< YAMLDebugSubsection > Sections, codeview::StringsAndChecksums &SC) |
DebugHSection | fromDebugH (ArrayRef< uint8_t > DebugH) |
ArrayRef< uint8_t > | toDebugH (const DebugHSection &DebugH, BumpPtrAllocator &Alloc) |
std::vector< LeafRecord > | fromDebugT (ArrayRef< uint8_t > DebugTorP, StringRef SectionName) |
ArrayRef< uint8_t > | toDebugT (ArrayRef< LeafRecord >, BumpPtrAllocator &Alloc, StringRef SectionName) |
DebugHSection llvm::CodeViewYAML::fromDebugH | ( | ArrayRef< uint8_t > | DebugH | ) |
Definition at line 48 of file CodeViewYAMLTypeHashing.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), llvm::cantFail(), llvm::CodeViewYAML::DebugHSection::HashAlgorithm, llvm::CodeViewYAML::DebugHSection::Hashes, llvm::little, llvm::CodeViewYAML::DebugHSection::Magic, llvm::BinaryStreamReader::readBytes(), llvm::BinaryStreamReader::readInteger(), llvm::ArrayRef< T >::size(), and llvm::CodeViewYAML::DebugHSection::Version.
std::vector< YAMLDebugSubsection > llvm::CodeViewYAML::fromDebugS | ( | ArrayRef< uint8_t > | Data, |
const codeview::StringsAndChecksumsRef & | SC | ||
) |
Definition at line 901 of file CodeViewYAMLDebugSections.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), llvm::Data, llvm::COFF::DEBUG_SECTION_MAGIC, llvm::CodeViewYAML::YAMLDebugSubsection::fromCodeViewSubection(), llvm::little, llvm::BinaryStreamReader::readArray(), and llvm::BinaryStreamReader::readInteger().
std::vector< LeafRecord > llvm::CodeViewYAML::fromDebugT | ( | ArrayRef< uint8_t > | DebugTorP, |
StringRef | SectionName | ||
) |
Definition at line 785 of file CodeViewYAMLTypes.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), llvm::COFF::DEBUG_SECTION_MAGIC, llvm::CodeViewYAML::LeafRecord::fromCodeViewRecord(), llvm::little, llvm::BinaryStreamReader::readArray(), and llvm::BinaryStreamReader::readInteger().
void llvm::CodeViewYAML::initializeStringsAndChecksums | ( | ArrayRef< YAMLDebugSubsection > | Sections, |
codeview::StringsAndChecksums & | SC | ||
) |
Definition at line 922 of file CodeViewYAMLDebugSections.cpp.
References Allocator.
Referenced by layoutCOFF().
Expected< std::vector< std::shared_ptr< DebugSubsection > > > llvm::CodeViewYAML::toCodeViewSubsectionList | ( | BumpPtrAllocator & | Allocator, |
ArrayRef< YAMLDebugSubsection > | Subsections, | ||
const codeview::StringsAndChecksums & | SC | ||
) |
Definition at line 747 of file CodeViewYAMLDebugSections.cpp.
References Allocator, assert(), and llvm::ArrayRef< T >::empty().
Referenced by toDebugS().
ArrayRef< uint8_t > llvm::CodeViewYAML::toDebugH | ( | const DebugHSection & | DebugH, |
BumpPtrAllocator & | Alloc | ||
) |
Definition at line 67 of file CodeViewYAMLTypeHashing.cpp.
References llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold, GrowthDelay >::Allocate(), assert(), llvm::BinaryStreamWriter::bytesRemaining(), llvm::cantFail(), llvm::SmallVectorImpl< T >::clear(), H, llvm::CodeViewYAML::DebugHSection::HashAlgorithm, llvm::CodeViewYAML::DebugHSection::Hashes, llvm::little, llvm::CodeViewYAML::DebugHSection::Magic, OS, llvm::SmallVectorBase< Size_T >::size(), Size, llvm::CodeViewYAML::DebugHSection::Version, llvm::BinaryStreamWriter::writeFixedString(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by layoutCOFF().
ArrayRef< uint8_t > llvm::CodeViewYAML::toDebugT | ( | ArrayRef< LeafRecord > | Leafs, |
BumpPtrAllocator & | Alloc, | ||
StringRef | SectionName | ||
) |
Definition at line 805 of file CodeViewYAMLTypes.cpp.
References llvm::Alloc, assert(), llvm::BinaryStreamWriter::bytesRemaining(), llvm::COFF::DEBUG_SECTION_MAGIC, llvm::little, llvm::codeview::AppendingTypeTableBuilder::records(), Size, llvm::BinaryStreamWriter::writeBytes(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by layoutCOFF().