LLVM 22.0.0git
llvm::codeview::DebugSubsectionRecordBuilder Class Reference

#include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h"

Public Member Functions

LLVM_ABI DebugSubsectionRecordBuilder (std::shared_ptr< DebugSubsection > Subsection)
LLVM_ABI DebugSubsectionRecordBuilder (const DebugSubsectionRecord &Contents)
 Use this to copy existing subsections directly from source to destination.
LLVM_ABI uint32_t calculateSerializedLength () const
LLVM_ABI Error commit (BinaryStreamWriter &Writer, CodeViewContainer Container) const

Detailed Description

Definition at line 54 of file DebugSubsectionRecord.h.

Constructor & Destructor Documentation

◆ DebugSubsectionRecordBuilder() [1/2]

DebugSubsectionRecordBuilder::DebugSubsectionRecordBuilder ( std::shared_ptr< DebugSubsection > Subsection)

Definition at line 51 of file DebugSubsectionRecord.cpp.

References llvm::move().

◆ DebugSubsectionRecordBuilder() [2/2]

DebugSubsectionRecordBuilder::DebugSubsectionRecordBuilder ( const DebugSubsectionRecord & Contents)

Use this to copy existing subsections directly from source to destination.

For example, line table subsections in an object file only need to be relocated before being copied into the PDB.

Definition at line 55 of file DebugSubsectionRecord.cpp.

Member Function Documentation

◆ calculateSerializedLength()

uint32_t DebugSubsectionRecordBuilder::calculateSerializedLength ( ) const

Definition at line 59 of file DebugSubsectionRecord.cpp.

References llvm::alignTo(), and llvm::DataSize.

◆ commit()


The documentation for this class was generated from the following files: