LLVM 24.0.0git
llvm::gsym::FunctionInfoStats Struct Reference

Byte-size accounting for a FunctionInfo, broken down by field / InfoType. More...

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

Public Attributes

uint64_t SizeAndName = 0
uint64_t LineTableInfo = 0
uint64_t InlineInfo = 0
uint64_t CallSiteInfo = 0
uint64_t MergedFuncInfo = 0
uint64_t EndOfList = 0
uint64_t InfoTypeInfoLengthCountAndFnSize = 0

Detailed Description

Byte-size accounting for a FunctionInfo, broken down by field / InfoType.

Populated by FunctionInfo::parseStatistics. Every value is a byte count and each on-disk byte of a FunctionInfo is attributed to exactly one member: FunctionInfo = SizeAndName + LineTableInfo + InlineInfo + CallSiteInfo + MergedFuncInfo + EndOfList (the per-InfoType members include that section's 8-byte InfoType+InfoLength header). InfoTypeInfoLengthCountAndFnSize is only used for the inner (merged) breakdown and captures the MergedFunctionsInfo structural bytes: its own InfoType+InfoLength (8) plus Count (4) plus each FnSize (4).

Definition at line 42 of file FunctionInfo.h.

Member Data Documentation

◆ CallSiteInfo

uint64_t llvm::gsym::FunctionInfoStats::CallSiteInfo = 0

Definition at line 46 of file FunctionInfo.h.

Referenced by llvm::gsym::GsymReader::dumpStatistics().

◆ EndOfList

uint64_t llvm::gsym::FunctionInfoStats::EndOfList = 0

Definition at line 48 of file FunctionInfo.h.

Referenced by llvm::gsym::GsymReader::dumpStatistics().

◆ InfoTypeInfoLengthCountAndFnSize

uint64_t llvm::gsym::FunctionInfoStats::InfoTypeInfoLengthCountAndFnSize = 0

◆ InlineInfo

uint64_t llvm::gsym::FunctionInfoStats::InlineInfo = 0

Definition at line 45 of file FunctionInfo.h.

Referenced by llvm::gsym::GsymReader::dumpStatistics().

◆ LineTableInfo

uint64_t llvm::gsym::FunctionInfoStats::LineTableInfo = 0

Definition at line 44 of file FunctionInfo.h.

Referenced by llvm::gsym::GsymReader::dumpStatistics().

◆ MergedFuncInfo

uint64_t llvm::gsym::FunctionInfoStats::MergedFuncInfo = 0

Definition at line 47 of file FunctionInfo.h.

Referenced by llvm::gsym::GsymReader::dumpStatistics().

◆ SizeAndName

uint64_t llvm::gsym::FunctionInfoStats::SizeAndName = 0

Definition at line 43 of file FunctionInfo.h.

Referenced by llvm::gsym::GsymReader::dumpStatistics().


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