LLVM 20.0.0git
|
Byte stream of .debug_loc entries. More...
#include "CodeGen/AsmPrinter/DebugLocStream.h"
Classes | |
struct | Entry |
class | EntryBuilder |
Builder for DebugLocStream entries. More... | |
struct | List |
class | ListBuilder |
Builder for DebugLocStream lists. More... | |
Public Member Functions | |
DebugLocStream (bool GenerateComments) | |
size_t | getNumLists () const |
const List & | getList (size_t LI) const |
ArrayRef< List > | getLists () const |
MCSymbol * | getSym () const |
void | setSym (MCSymbol *Sym) |
BufferByteStreamer | getStreamer () |
ArrayRef< Entry > | getEntries (const List &L) const |
ArrayRef< char > | getBytes (const Entry &E) const |
ArrayRef< std::string > | getComments (const Entry &E) const |
Byte stream of .debug_loc entries.
Stores a unified stream of .debug_loc entries. There's List for each variable/inlined-at pair, and an Entry for each DebugLocEntry.
FIXME: Do we need all these temp symbols? FIXME: Why not output directly to the output stream?
Definition at line 30 of file DebugLocStream.h.
|
inline |
Definition at line 58 of file DebugLocStream.h.
Definition at line 114 of file DebugLocStream.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), E, llvm::SmallVectorTemplateCommon< T, typename >::end(), getNumBytes(), and llvm::ArrayRef< T >::slice().
Referenced by llvm::DwarfDebug::emitDebugLocEntry(), and llvm::DwarfDebug::emitDebugLocEntryLocation().
Definition at line 119 of file DebugLocStream.h.
References E, and llvm::ArrayRef< T >::slice().
Referenced by llvm::DwarfDebug::emitDebugLocEntry().
Definition at line 109 of file DebugLocStream.h.
References llvm::ArrayRef< T >::slice().
Referenced by emitLocList().
Definition at line 60 of file DebugLocStream.h.
Referenced by llvm::DIELocList::emitValue().
Definition at line 61 of file DebugLocStream.h.
|
inline |
Definition at line 59 of file DebugLocStream.h.
References llvm::SmallVectorBase< Size_T >::size().
|
inline |
Definition at line 105 of file DebugLocStream.h.
Referenced by llvm::DebugLocStream::EntryBuilder::getStreamer().
|
inline |
Definition at line 62 of file DebugLocStream.h.
References Sym.
|
inline |
Definition at line 65 of file DebugLocStream.h.
References Sym.
Referenced by llvm::DwarfDebug::beginModule().