LLVM API Documentation

Public Types | Public Member Functions | Public Attributes
llvm::DotDebugLocEntry Struct Reference

This struct describes location entries emitted in the .debug_loc section. More...

#include <DwarfDebug.h>

Collaboration diagram for llvm::DotDebugLocEntry:
Collaboration graph
[legend]

List of all members.

Public Types

enum  EntryType { E_Location, E_Integer, E_ConstantFP, E_ConstantInt }

Public Member Functions

 DotDebugLocEntry ()
 DotDebugLocEntry (const MCSymbol *B, const MCSymbol *E, MachineLocation &L, const MDNode *V)
 DotDebugLocEntry (const MCSymbol *B, const MCSymbol *E, int64_t i)
 DotDebugLocEntry (const MCSymbol *B, const MCSymbol *E, const ConstantFP *FPtr)
 DotDebugLocEntry (const MCSymbol *B, const MCSymbol *E, const ConstantInt *IPtr)
bool isEmpty ()
 Empty entries are also used as a trigger to emit temp label. Such labels are referenced is used to find debug_loc offset for a given DIE.
bool isMerged ()
void Merge (DotDebugLocEntry *Next)
bool isLocation () const
bool isInt () const
bool isConstantFP () const
bool isConstantInt () const
int64_t getInt ()
const ConstantFPgetConstantFP ()
const ConstantIntgetConstantInt ()

Public Attributes

const MCSymbolBegin
const MCSymbolEnd
MachineLocation Loc
const MDNodeVariable
bool Merged
bool Constant
enum EntryType EntryKind
union {
   int64_t   Int
   const ConstantFP *   CFP
   const ConstantInt *   CIP
Constants

Detailed Description

This struct describes location entries emitted in the .debug_loc section.

Definition at line 66 of file DwarfDebug.h.


Member Enumeration Documentation

Enumerator:
E_Location 
E_Integer 
E_ConstantFP 
E_ConstantInt 

Definition at line 73 of file DwarfDebug.h.


Constructor & Destructor Documentation

llvm::DotDebugLocEntry::DotDebugLocEntry ( ) [inline]

Definition at line 86 of file DwarfDebug.h.

References Constants.

llvm::DotDebugLocEntry::DotDebugLocEntry ( const MCSymbol B,
const MCSymbol E,
MachineLocation L,
const MDNode V 
) [inline]

Definition at line 89 of file DwarfDebug.h.

References Constants, E_Location, and EntryKind.

llvm::DotDebugLocEntry::DotDebugLocEntry ( const MCSymbol B,
const MCSymbol E,
int64_t  i 
) [inline]

Definition at line 93 of file DwarfDebug.h.

References Constants, E_Integer, and EntryKind.

llvm::DotDebugLocEntry::DotDebugLocEntry ( const MCSymbol B,
const MCSymbol E,
const ConstantFP FPtr 
) [inline]

Definition at line 96 of file DwarfDebug.h.

References Constants, E_ConstantFP, and EntryKind.

llvm::DotDebugLocEntry::DotDebugLocEntry ( const MCSymbol B,
const MCSymbol E,
const ConstantInt IPtr 
) [inline]

Definition at line 99 of file DwarfDebug.h.

References Constants, E_ConstantInt, and EntryKind.


Member Function Documentation

const ConstantFP* llvm::DotDebugLocEntry::getConstantFP ( ) [inline]

Definition at line 119 of file DwarfDebug.h.

References Constants.

const ConstantInt* llvm::DotDebugLocEntry::getConstantInt ( ) [inline]

Definition at line 120 of file DwarfDebug.h.

References Constants.

int64_t llvm::DotDebugLocEntry::getInt ( ) [inline]

Definition at line 118 of file DwarfDebug.h.

References Constants.

bool llvm::DotDebugLocEntry::isConstantFP ( ) const [inline]

Definition at line 116 of file DwarfDebug.h.

References E_ConstantFP, and EntryKind.

bool llvm::DotDebugLocEntry::isConstantInt ( ) const [inline]

Definition at line 117 of file DwarfDebug.h.

References E_ConstantInt, and EntryKind.

bool llvm::DotDebugLocEntry::isEmpty ( ) [inline]

Empty entries are also used as a trigger to emit temp label. Such labels are referenced is used to find debug_loc offset for a given DIE.

Definition at line 106 of file DwarfDebug.h.

References Begin, and End.

bool llvm::DotDebugLocEntry::isInt ( ) const [inline]

Definition at line 115 of file DwarfDebug.h.

References E_Integer, and EntryKind.

bool llvm::DotDebugLocEntry::isLocation ( ) const [inline]

Definition at line 114 of file DwarfDebug.h.

References E_Location, and EntryKind.

bool llvm::DotDebugLocEntry::isMerged ( ) [inline]

Definition at line 107 of file DwarfDebug.h.

References Merged.

void llvm::DotDebugLocEntry::Merge ( DotDebugLocEntry Next) [inline]

Definition at line 108 of file DwarfDebug.h.

References Begin, End, Loc, and Merged.


Member Data Documentation

Definition at line 67 of file DwarfDebug.h.

Referenced by isEmpty(), and Merge().

Definition at line 83 of file DwarfDebug.h.

Definition at line 84 of file DwarfDebug.h.

Definition at line 72 of file DwarfDebug.h.

Definition at line 68 of file DwarfDebug.h.

Referenced by isEmpty(), and Merge().

Definition at line 79 of file DwarfDebug.h.

Referenced by DotDebugLocEntry(), isConstantFP(), isConstantInt(), isInt(), and isLocation().

Definition at line 82 of file DwarfDebug.h.

Definition at line 69 of file DwarfDebug.h.

Referenced by Merge().

Definition at line 71 of file DwarfDebug.h.

Referenced by isMerged(), and Merge().

Definition at line 70 of file DwarfDebug.h.


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