|
LLVM
10.0.0
|
This struct describes location entries emitted in the .debug_loc section. More...
#include "CodeGen/AsmPrinter/DebugLocEntry.h"
Public Member Functions | |
| DebugLocEntry (const MCSymbol *Begin, const MCSymbol *End, ArrayRef< DbgValueLoc > Vals) | |
Create a location list entry for the range [Begin, End). More... | |
| bool | MergeRanges (const DebugLocEntry &Next) |
| Attempt to merge this DebugLocEntry with Next and return true if the merge was successful. More... | |
| const MCSymbol * | getBeginSym () const |
| const MCSymbol * | getEndSym () const |
| ArrayRef< DbgValueLoc > | getValues () const |
| void | addValues (ArrayRef< DbgValueLoc > Vals) |
| void | sortUniqueValues () |
| void | finalize (const AsmPrinter &AP, DebugLocStream::ListBuilder &List, const DIBasicType *BT, DwarfCompileUnit &TheCU) |
| Lower this entry into a DWARF expression. More... | |
This struct describes location entries emitted in the .debug_loc section.
Definition at line 122 of file DebugLocEntry.h.
|
inline |
Create a location list entry for the range [Begin, End).
| Vals | One or more values describing (parts of) the variable. |
Definition at line 135 of file DebugLocEntry.h.
|
inline |
Definition at line 157 of file DebugLocEntry.h.
References llvm::all_of(), llvm::SmallVectorImpl< T >::append(), assert(), llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), llvm::DbgValueLoc::isFragment(), and llvm::SmallVectorBase::size().
| void DebugLocEntry::finalize | ( | const AsmPrinter & | AP, |
| DebugLocStream::ListBuilder & | List, | ||
| const DIBasicType * | BT, | ||
| DwarfCompileUnit & | TheCU | ||
| ) |
Lower this entry into a DWARF expression.
Definition at line 2267 of file DwarfDebug.cpp.
References assert().
Definition at line 154 of file DebugLocEntry.h.
Definition at line 155 of file DebugLocEntry.h.
|
inline |
Definition at line 156 of file DebugLocEntry.h.
|
inline |
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 145 of file DebugLocEntry.h.
|
inline |
Definition at line 167 of file DebugLocEntry.h.
References B, llvm::SmallVectorTemplateCommon< T >::begin(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::SmallVectorImpl< T >::erase(), finalize, llvm::DbgValueLoc::getExpression(), List, and llvm::sort().
1.8.13