LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::BTF::BPFLineInfo Struct Reference

Specifying one line info. More...

#include "llvm/DebugInfo/BTF/BTF.h"

Public Member Functions

uint32_t getLine () const
 
uint32_t getCol () const
 

Public Attributes

uint32_t InsnOffset
 Byte offset in this section.
 
uint32_t FileNameOff
 File name index in the .BTF string table.
 
uint32_t LineOff
 Line index in the .BTF string table.
 
uint32_t LineCol
 Line num: line_col >> 10, col num: line_col & 0x3ff.
 

Detailed Description

Specifying one line info.

Definition at line 250 of file BTF.h.

Member Function Documentation

◆ getCol()

uint32_t llvm::BTF::BPFLineInfo::getCol ( ) const
inline

Definition at line 257 of file BTF.h.

References LineCol.

Referenced by llvm::BTFContext::getLineInfoForAddress().

◆ getLine()

uint32_t llvm::BTF::BPFLineInfo::getLine ( ) const
inline

Definition at line 256 of file BTF.h.

References LineCol.

Referenced by llvm::BTFContext::getLineInfoForAddress().

Member Data Documentation

◆ FileNameOff

uint32_t llvm::BTF::BPFLineInfo::FileNameOff

File name index in the .BTF string table.

Definition at line 252 of file BTF.h.

Referenced by llvm::BTFContext::getLineInfoForAddress().

◆ InsnOffset

uint32_t llvm::BTF::BPFLineInfo::InsnOffset

Byte offset in this section.

Definition at line 251 of file BTF.h.

◆ LineCol

uint32_t llvm::BTF::BPFLineInfo::LineCol

Line num: line_col >> 10, col num: line_col & 0x3ff.

Definition at line 254 of file BTF.h.

Referenced by getCol(), and getLine().

◆ LineOff

uint32_t llvm::BTF::BPFLineInfo::LineOff

Line index in the .BTF string table.

Definition at line 253 of file BTF.h.

Referenced by llvm::BTFContext::getLineInfoForAddress().


The documentation for this struct was generated from the following file: