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

Collaboration diagram for llvm::dwarf::PubIndexEntryDescriptor:
Collaboration graph
[legend]

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 492 of file Dwarf.h.

Constructor & Destructor Documentation

◆ PubIndexEntryDescriptor() [1/3]

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

Definition at line 495 of file Dwarf.h.

◆ PubIndexEntryDescriptor() [2/3]

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

Definition at line 497 of file Dwarf.h.

◆ PubIndexEntryDescriptor() [3/3]

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

Definition at line 499 of file Dwarf.h.

Member Function Documentation

◆ toBits()

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

Definition at line 504 of file Dwarf.h.

Referenced by computeIndexValue().

Member Data Documentation

◆ Kind

GDBIndexEntryKind llvm::dwarf::PubIndexEntryDescriptor::Kind

Definition at line 493 of file Dwarf.h.

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

◆ Linkage

GDBIndexEntryLinkage llvm::dwarf::PubIndexEntryDescriptor::Linkage

Definition at line 494 of file Dwarf.h.

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


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