LLVM 19.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::codeview::DebugLinesSubsection Class Referencefinal

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

Inheritance diagram for llvm::codeview::DebugLinesSubsection:
Inheritance graph
[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
 
virtual Error commit (BinaryStreamWriter &Writer) const =0
 
virtual uint32_t calculateSerializedSize () const =0
 

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 106 of file DebugLinesSubsection.h.

Constructor & Destructor Documentation

◆ DebugLinesSubsection()

DebugLinesSubsection::DebugLinesSubsection ( DebugChecksumsSubsection Checksums,
DebugStringTableSubsection Strings 
)

Definition at line 71 of file DebugLinesSubsection.cpp.

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

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

◆ commit()

Error DebugLinesSubsection::commit ( BinaryStreamWriter Writer) const
overridevirtual

◆ createBlock()

void DebugLinesSubsection::createBlock ( StringRef  FileName)

◆ 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: