LLVM 19.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 823 of file Dwarf.h.

Constructor & Destructor Documentation

◆ PubIndexEntryDescriptor() [1/3]

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

Definition at line 826 of file Dwarf.h.

◆ PubIndexEntryDescriptor() [2/3]

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

Definition at line 828 of file Dwarf.h.

◆ PubIndexEntryDescriptor() [3/3]

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

Definition at line 830 of file Dwarf.h.

Member Function Documentation

◆ toBits()

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

Definition at line 835 of file Dwarf.h.

References Kind, and Linkage.

Member Data Documentation

◆ Kind

GDBIndexEntryKind llvm::dwarf::PubIndexEntryDescriptor::Kind

Definition at line 824 of file Dwarf.h.

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

◆ Linkage

GDBIndexEntryLinkage llvm::dwarf::PubIndexEntryDescriptor::Linkage

Definition at line 825 of file Dwarf.h.

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


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