|
LLVM
3.7.0
|
This struct describes location entries emitted in the .debug_loc section. More...
#include <DebugLocEntry.h>
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 variable, merge them by appending Next's values to the current list of values. 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< Value > | getValues () const |
| void | addValues (ArrayRef< DebugLocEntry::Value > Vals) |
| void | sortUniqueValues () |
| void | finalize (const AsmPrinter &AP, DebugLocStream::ListBuilder &List, const DIBasicType *BT) |
| Lower this entry into a DWARF expression. More... | |
This struct describes location entries emitted in the .debug_loc section.
Definition at line 24 of file DebugLocEntry.h.
Definition at line 86 of file DebugLocEntry.h.
|
inline |
Definition at line 124 of file DebugLocEntry.h.
References llvm::all_of(), llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), and sortUniqueValues().
Referenced by MergeValues().
| void DebugLocEntry::finalize | ( | const AsmPrinter & | AP, |
| DebugLocStream::ListBuilder & | List, | ||
| const DIBasicType * | BT | ||
| ) |
Lower this entry into a DWARF expression.
Definition at line 1507 of file DwarfDebug.cpp.
References llvm::all_of(), emitDebugLocValue(), llvm::DIExpression::getBitPieceOffset(), llvm::DIExpression::getBitPieceSize(), llvm::AsmPrinter::getDwarfDebug(), llvm::DwarfDebug::getDwarfVersion(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::DebugLocStream::EntryBuilder::getStreamer(), llvm::MachineFunction::getSubtarget(), llvm::DebugLocEntry::Value::isBitPiece(), llvm::AsmPrinter::MF, and P.
Definition at line 121 of file DebugLocEntry.h.
Definition at line 122 of file DebugLocEntry.h.
Definition at line 123 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 112 of file DebugLocEntry.h.
|
inline |
If this and Next are describing different pieces of the same variable, merge them by appending Next's values to the current list of values.
Return true if the merge was successful.
Definition at line 95 of file DebugLocEntry.h.
References addValues().
|
inline |
Definition at line 134 of file DebugLocEntry.h.
References llvm::ARM_PROC::A, and llvm::DebugLocEntry::Value::getExpression().
Referenced by addValues().
1.8.6