10 #ifndef LLVM_DEBUGINFO_CODEVIEW_LINE_H 11 #define LLVM_DEBUGINFO_CODEVIEW_LINE_H 66 static const uint32_t StartColumnMask = 0x0000ffffu;
67 static const uint32_t EndColumnMask = 0xffff0000u;
68 static const int EndColumnShift = 16;
73 (
static_cast<uint32_t>(StartColumn) & StartColumnMask) |
74 ((
static_cast<uint32_t>(EndColumn) << EndColumnShift) & EndColumnMask);
78 return static_cast<uint16_t
>(ColumnData & StartColumnMask);
82 return static_cast<uint16_t
>((ColumnData & EndColumnMask) >>
100 uint16_t StartColumn, uint16_t EndColumn,
bool IsStatement)
101 : CodeOffset(CodeOffset), LineInf(StartLine, EndLine, IsStatement),
102 ColumnInf(StartColumn, EndColumn) {}
105 : CodeOffset(CodeOffset), LineInf(LineInf), ColumnInf(ColumnInf) {}
uint16_t getEndColumn() const
This class represents lattice values for constants.
uint32_t getStartLine() const
bool isNeverStepInto() const
bool isAlwaysStepInto() const
uint16_t getStartColumn() const
Line(int32_t CodeOffset, LineInfo LineInf, ColumnInfo ColumnInf)
LineInfo getLineInfo() const
int32_t getCodeOffset() const
uint32_t getRawData() const
uint32_t getEndLine() const
ColumnInfo getColumnInfo() const
uint32_t getEndLine() const
bool isNeverStepInto() const
uint32_t getLineDelta() const
LineInfo(uint32_t LineData)
uint32_t getRawData() const
detail::packed_endian_specific_integral< uint32_t, little, unaligned > ulittle32_t
uint16_t getStartColumn() const
uint32_t getStartLine() const
bool isAlwaysStepInto() const
Line(int32_t CodeOffset, uint32_t StartLine, uint32_t EndLine, uint16_t StartColumn, uint16_t EndColumn, bool IsStatement)
uint32_t getLineDelta() const
LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement)
uint16_t getEndColumn() const
ColumnInfo(uint16_t StartColumn, uint16_t EndColumn)