LLVM  10.0.0svn
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"

Collaboration diagram for llvm::gsym::LineEntry:
Collaboration graph
[legend]

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. More...
 
uint32_t File
 1 based index of file in FileTable More...
 
uint32_t Line
 Source line number. More...
 

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.

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::operator<(), llvm::gsym::operator<<(), and llvm::gsym::operator==().

◆ 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::operator<<(), and llvm::gsym::operator==().

◆ Line

uint32_t llvm::gsym::LineEntry::Line

Source line number.

Definition at line 25 of file LineEntry.h.

Referenced by llvm::gsym::operator<<(), and llvm::gsym::operator==().


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