LLVM 22.0.0git
llvm::codeview::DebugLinesSubsection Class Referencefinal

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

Inheritance diagram for llvm::codeview::DebugLinesSubsection:
[legend]

Public Member Functions

 DebugLinesSubsection (DebugChecksumsSubsection &Checksums, DebugStringTableSubsection &Strings)
void createBlock (StringRef FileName)
void addLineInfo (uint32_t Offset, const LineInfo &Line)
void addLineAndColumnInfo (uint32_t Offset, const LineInfo &Line, uint32_t ColStart, uint32_t ColEnd)
uint32_t calculateSerializedSize () const override
Error commit (BinaryStreamWriter &Writer) const override
void setRelocationAddress (uint16_t Segment, uint32_t Offset)
void setCodeSize (uint32_t Size)
void setFlags (LineFlags Flags)
bool hasColumnInfo () const
Public Member Functions inherited from llvm::codeview::DebugSubsection
 DebugSubsection (DebugSubsectionKind Kind)
virtual ~DebugSubsection ()
DebugSubsectionKind kind () const

Static Public Member Functions

static bool classof (const DebugSubsection *S)
Static Public Member Functions inherited from llvm::codeview::DebugSubsection
static bool classof (const DebugSubsection *S)

Additional Inherited Members

Protected Attributes inherited from llvm::codeview::DebugSubsection
DebugSubsectionKind Kind

Detailed Description

Definition at line 107 of file DebugLinesSubsection.h.

Constructor & Destructor Documentation

◆ DebugLinesSubsection()

DebugLinesSubsection::DebugLinesSubsection ( DebugChecksumsSubsection & Checksums,
DebugStringTableSubsection & Strings )

Member Function Documentation

◆ addLineAndColumnInfo()

void DebugLinesSubsection::addLineAndColumnInfo ( uint32_t Offset,
const LineInfo & Line,
uint32_t ColStart,
uint32_t ColEnd )

◆ addLineInfo()

void DebugLinesSubsection::addLineInfo ( uint32_t Offset,
const LineInfo & Line )

◆ calculateSerializedSize()

uint32_t DebugLinesSubsection::calculateSerializedSize ( ) const
overridevirtual

Implements llvm::codeview::DebugSubsection.

Definition at line 137 of file DebugLinesSubsection.cpp.

References B(), hasColumnInfo(), and Size.

◆ classof()

bool llvm::codeview::DebugLinesSubsection::classof ( const DebugSubsection * S)
inlinestatic

◆ commit()

◆ createBlock()

void DebugLinesSubsection::createBlock ( StringRef FileName)

Definition at line 75 of file DebugLinesSubsection.cpp.

References llvm::Offset.

◆ hasColumnInfo()

bool DebugLinesSubsection::hasColumnInfo ( ) const

Definition at line 158 of file DebugLinesSubsection.cpp.

References llvm::codeview::LF_HaveColumns.

Referenced by calculateSerializedSize(), and commit().

◆ setCodeSize()

void DebugLinesSubsection::setCodeSize ( uint32_t Size)

Definition at line 154 of file DebugLinesSubsection.cpp.

References Size.

◆ setFlags()

void DebugLinesSubsection::setFlags ( LineFlags Flags)

Definition at line 156 of file DebugLinesSubsection.cpp.

◆ setRelocationAddress()

void DebugLinesSubsection::setRelocationAddress ( uint16_t Segment,
uint32_t Offset )

Definition at line 148 of file DebugLinesSubsection.cpp.

References llvm::Offset.


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