LLVM 20.0.0git
Namespaces | Classes | Functions
llvm::CodeViewYAML Namespace Reference

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< YAMLDebugSubsectionfromDebugS (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< LeafRecordfromDebugT (ArrayRef< uint8_t > DebugTorP, StringRef SectionName)
 
ArrayRef< uint8_t > toDebugT (ArrayRef< LeafRecord >, BumpPtrAllocator &Alloc, StringRef SectionName)
 

Function Documentation

◆ fromDebugH()

DebugHSection llvm::CodeViewYAML::fromDebugH ( ArrayRef< uint8_t >  DebugH)

◆ fromDebugS()

std::vector< YAMLDebugSubsection > llvm::CodeViewYAML::fromDebugS ( ArrayRef< uint8_t >  Data,
const codeview::StringsAndChecksumsRef SC 
)

◆ fromDebugT()

std::vector< LeafRecord > llvm::CodeViewYAML::fromDebugT ( ArrayRef< uint8_t >  DebugTorP,
StringRef  SectionName 
)

◆ initializeStringsAndChecksums()

void llvm::CodeViewYAML::initializeStringsAndChecksums ( ArrayRef< YAMLDebugSubsection Sections,
codeview::StringsAndChecksums SC 
)

Definition at line 922 of file CodeViewYAMLDebugSections.cpp.

References Allocator.

Referenced by layoutCOFF().

◆ toCodeViewSubsectionList()

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().

◆ toDebugH()

ArrayRef< uint8_t > llvm::CodeViewYAML::toDebugH ( const DebugHSection DebugH,
BumpPtrAllocator Alloc 
)

◆ toDebugT()

ArrayRef< uint8_t > llvm::CodeViewYAML::toDebugT ( ArrayRef< LeafRecord Leafs,
BumpPtrAllocator Alloc,
StringRef  SectionName 
)