LLVM API Documentation

Classes | Public Member Functions
llvm::DebugLocEntry Class Reference

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

#include <DebugLocEntry.h>

List of all members.

Classes

struct  Value
 A single location or constant. More...

Public Member Functions

 DebugLocEntry (const MCSymbol *B, const MCSymbol *E, Value Val)
bool MergeValues (const DebugLocEntry &Next)
 If this and Next are describing different pieces of the same.
bool MergeRanges (const DebugLocEntry &Next)
 Attempt to merge this DebugLocEntry with Next and return true if the merge was successful. Entries can be merged if they share the same Loc/Constant and if Next immediately follows this Entry.
const MCSymbolgetBeginSym () const
const MCSymbolgetEndSym () const
ArrayRef< ValuegetValues () const
void addValues (ArrayRef< DebugLocEntry::Value > Vals)
void sortUniqueValues ()

Detailed Description

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

Definition at line 21 of file DebugLocEntry.h.


Constructor & Destructor Documentation


Member Function Documentation

Definition at line 119 of file DebugLocEntry.h.

Definition at line 120 of file DebugLocEntry.h.

Definition at line 121 of file DebugLocEntry.h.

Referenced by llvm::DwarfDebug::emitDebugLocEntry().

Attempt to merge this DebugLocEntry with Next and return true if the merge was successful. Entries can be merged if they share the same Loc/Constant and if Next immediately follows this Entry.

Definition at line 110 of file DebugLocEntry.h.

If this and Next are describing different pieces of the same.

Definition at line 92 of file DebugLocEntry.h.

References addValues(), llvm::DIVariable::getName(), llvm::DIVariable::isVariablePiece(), and llvm::SmallVectorTemplateCommon< T, typename >::size().


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