LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::codeview::LineInfo Class Reference

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

Public Types

enum  : uint32_t { AlwaysStepIntoLineNumber = 0xfeefee, NeverStepIntoLineNumber = 0xf00f00 }
 
enum  : int { EndLineDeltaShift = 24 }
 
enum  : uint32_t { StartLineMask = 0x00ffffff, EndLineDeltaMask = 0x7f000000, StatementFlag = 0x80000000u }
 

Public Member Functions

 LineInfo (uint32_t StartLine, uint32_t EndLine, bool IsStatement)
 
 LineInfo (uint32_t LineData)
 
uint32_t getStartLine () const
 
uint32_t getLineDelta () const
 
uint32_t getEndLine () const
 
bool isStatement () const
 
uint32_t getRawData () const
 
bool isAlwaysStepInto () const
 
bool isNeverStepInto () const
 

Detailed Description

Definition at line 22 of file Line.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
AlwaysStepIntoLineNumber 
NeverStepIntoLineNumber 

Definition at line 24 of file Line.h.

◆ anonymous enum

anonymous enum : int
Enumerator
EndLineDeltaShift 

Definition at line 29 of file Line.h.

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
StartLineMask 
EndLineDeltaMask 
StatementFlag 

Definition at line 31 of file Line.h.

Constructor & Destructor Documentation

◆ LineInfo() [1/2]

LineInfo::LineInfo ( uint32_t  StartLine,
uint32_t  EndLine,
bool  IsStatement 
)

Definition at line 15 of file Line.cpp.

References EndLineDeltaMask, EndLineDeltaShift, StartLineMask, and StatementFlag.

◆ LineInfo() [2/2]

llvm::codeview::LineInfo::LineInfo ( uint32_t  LineData)
inline

Definition at line 38 of file Line.h.

Member Function Documentation

◆ getEndLine()

uint32_t llvm::codeview::LineInfo::getEndLine ( ) const
inline

Definition at line 46 of file Line.h.

References getLineDelta(), and getStartLine().

Referenced by llvm::codeview::Line::getEndLine().

◆ getLineDelta()

uint32_t llvm::codeview::LineInfo::getLineDelta ( ) const
inline

Definition at line 42 of file Line.h.

References EndLineDeltaMask, and EndLineDeltaShift.

Referenced by getEndLine(), getFileName(), and llvm::codeview::Line::getLineDelta().

◆ getRawData()

uint32_t llvm::codeview::LineInfo::getRawData ( ) const
inline

Definition at line 50 of file Line.h.

Referenced by llvm::codeview::DebugLinesSubsection::addLineInfo().

◆ getStartLine()

uint32_t llvm::codeview::LineInfo::getStartLine ( ) const
inline

◆ isAlwaysStepInto()

bool llvm::codeview::LineInfo::isAlwaysStepInto ( ) const
inline

Definition at line 52 of file Line.h.

References AlwaysStepIntoLineNumber, and getStartLine().

Referenced by llvm::codeview::Line::isAlwaysStepInto().

◆ isNeverStepInto()

bool llvm::codeview::LineInfo::isNeverStepInto ( ) const
inline

Definition at line 56 of file Line.h.

References getStartLine(), and NeverStepIntoLineNumber.

Referenced by llvm::codeview::Line::isNeverStepInto().

◆ isStatement()

bool llvm::codeview::LineInfo::isStatement ( ) const
inline

Definition at line 48 of file Line.h.

References StatementFlag.

Referenced by getFileName(), and llvm::codeview::Line::isStatement().


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