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

Describes an entry of the various gnu_pub* debug sections. More...

#include "llvm/BinaryFormat/Dwarf.h"

Public Member Functions

 PubIndexEntryDescriptor (GDBIndexEntryKind Kind, GDBIndexEntryLinkage Linkage)
 
 PubIndexEntryDescriptor (GDBIndexEntryKind Kind)
 
 PubIndexEntryDescriptor (uint8_t Value)
 
uint8_t toBits () const
 

Public Attributes

GDBIndexEntryKind Kind
 
GDBIndexEntryLinkage Linkage
 

Detailed Description

Describes an entry of the various gnu_pub* debug sections.

The gnu_pub* kind looks like:

0-3 reserved 4-6 symbol kind 7 0 == global, 1 == static

A gdb_index descriptor includes the above kind, shifted 24 bits up with the offset of the cu within the debug_info section stored in those 24 bits.

Definition at line 1148 of file Dwarf.h.

Constructor & Destructor Documentation

◆ PubIndexEntryDescriptor() [1/3]

llvm::dwarf::PubIndexEntryDescriptor::PubIndexEntryDescriptor ( GDBIndexEntryKind  Kind,
GDBIndexEntryLinkage  Linkage 
)
inline

Definition at line 1151 of file Dwarf.h.

◆ PubIndexEntryDescriptor() [2/3]

llvm::dwarf::PubIndexEntryDescriptor::PubIndexEntryDescriptor ( GDBIndexEntryKind  Kind)
inline

Definition at line 1153 of file Dwarf.h.

◆ PubIndexEntryDescriptor() [3/3]

llvm::dwarf::PubIndexEntryDescriptor::PubIndexEntryDescriptor ( uint8_t  Value)
inlineexplicit

Definition at line 1155 of file Dwarf.h.

Member Function Documentation

◆ toBits()

uint8_t llvm::dwarf::PubIndexEntryDescriptor::toBits ( ) const
inline

Definition at line 1160 of file Dwarf.h.

References Kind, and Linkage.

Member Data Documentation

◆ Kind

GDBIndexEntryKind llvm::dwarf::PubIndexEntryDescriptor::Kind

Definition at line 1149 of file Dwarf.h.

Referenced by llvm::DWARFDebugPubTable::dump(), and toBits().

◆ Linkage

GDBIndexEntryLinkage llvm::dwarf::PubIndexEntryDescriptor::Linkage

Definition at line 1150 of file Dwarf.h.

Referenced by llvm::DWARFDebugPubTable::dump(), and toBits().


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