LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::gsym::LineEntry Struct Reference

Line entries are used to encode the line tables in FunctionInfo objects. More...

#include "llvm/DebugInfo/GSYM/LineEntry.h"

Public Member Functions

 LineEntry (uint64_t A=0, uint32_t F=0, uint32_t L=0)
 
bool isValid ()
 

Public Attributes

uint64_t Addr
 Start address of this line entry.
 
uint32_t File
 1 based index of file in FileTable
 
uint32_t Line
 Source line number.
 

Detailed Description

Line entries are used to encode the line tables in FunctionInfo objects.

They are stored as a sorted vector of these objects and store the address, file and line of the line table row for a given address. The size of a line table entry is calculated by looking at the next entry in the FunctionInfo's vector of entries.

Definition at line 22 of file LineEntry.h.

Constructor & Destructor Documentation

◆ LineEntry()

llvm::gsym::LineEntry::LineEntry ( uint64_t  A = 0,
uint32_t  F = 0,
uint32_t  L = 0 
)
inline

Definition at line 26 of file LineEntry.h.

Member Function Documentation

◆ isValid()

bool llvm::gsym::LineEntry::isValid ( )
inline

Definition at line 28 of file LineEntry.h.

References File.

Member Data Documentation

◆ Addr

uint64_t llvm::gsym::LineEntry::Addr

Start address of this line entry.

Definition at line 23 of file LineEntry.h.

Referenced by llvm::gsym::LineTable::encode().

◆ File

uint32_t llvm::gsym::LineEntry::File

1 based index of file in FileTable

Definition at line 24 of file LineEntry.h.

Referenced by llvm::gsym::LineTable::encode(), isValid(), and llvm::gsym::FunctionInfo::lookup().

◆ Line

uint32_t llvm::gsym::LineEntry::Line

Source line number.

Definition at line 25 of file LineEntry.h.

Referenced by llvm::gsym::LineTable::encode(), and llvm::gsym::FunctionInfo::lookup().


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