class DebugSubsectionRecordBuilder

Declaration

class DebugSubsectionRecordBuilder { /* full declaration omitted */ };

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h:54

Method Overview

Methods

DebugSubsectionRecordBuilder(
    std::shared_ptr<DebugSubsection> Subsection,
    llvm::codeview::CodeViewContainer Container)

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h:56

Parameters

std::shared_ptr<DebugSubsection> Subsection
llvm::codeview::CodeViewContainer Container

DebugSubsectionRecordBuilder(
    const llvm::codeview::DebugSubsectionRecord&
        Contents,
    llvm::codeview::CodeViewContainer Container)

Description

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.

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h:62

Parameters

const llvm::codeview::DebugSubsectionRecord& Contents
llvm::codeview::CodeViewContainer Container

uint32_t calculateSerializedLength()

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h:65

llvm::Error commit(
    llvm::BinaryStreamWriter& Writer) const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h:66

Parameters

llvm::BinaryStreamWriter& Writer