LLVM 22.0.0git
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 1173 of file Dwarf.h.

Constructor & Destructor Documentation

◆ PubIndexEntryDescriptor() [1/3]

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

Definition at line 1176 of file Dwarf.h.

References Kind, and Linkage.

◆ PubIndexEntryDescriptor() [2/3]

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

Definition at line 1178 of file Dwarf.h.

References llvm::dwarf::GIEL_EXTERNAL, Kind, and Linkage.

◆ PubIndexEntryDescriptor() [3/3]

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

Definition at line 1180 of file Dwarf.h.

References Kind, and Linkage.

Member Function Documentation

◆ toBits()

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

Definition at line 1185 of file Dwarf.h.

References Kind, and Linkage.

Member Data Documentation

◆ Kind

GDBIndexEntryKind llvm::dwarf::PubIndexEntryDescriptor::Kind

◆ Linkage

GDBIndexEntryLinkage llvm::dwarf::PubIndexEntryDescriptor::Linkage

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