LLVM  8.0.1
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]
Collaboration diagram for llvm::codeview::DebugLinesSubsection:
Collaboration 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
 

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 72 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 138 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 159 of file DebugLinesSubsection.cpp.

References llvm::codeview::LF_HaveColumns.

Referenced by calculateSerializedSize(), and commit().

◆ setCodeSize()

void DebugLinesSubsection::setCodeSize ( uint32_t  Size)

Definition at line 155 of file DebugLinesSubsection.cpp.

References Size.

◆ setFlags()

void DebugLinesSubsection::setFlags ( LineFlags  Flags)

Definition at line 157 of file DebugLinesSubsection.cpp.

◆ setRelocationAddress()

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

Definition at line 149 of file DebugLinesSubsection.cpp.


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