LLVM
8.0.1
|
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 |
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 32 of file DebugLocStream.h.
|
inline |
Definition at line 63 of file DebugLocStream.h.
Definition at line 114 of file DebugLocStream.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), getNumBytes(), and llvm::makeArrayRef().
Referenced by llvm::DwarfDebug::emitDebugLocEntryLocation().
Definition at line 119 of file DebugLocStream.h.
References assert(), llvm::SmallVectorTemplateCommon< T >::back(), E, llvm::SmallVectorTemplateCommon< T >::front(), getNumBytes(), llvm::makeArrayRef(), and llvm::SmallVectorBase::size().
Referenced by llvm::DwarfDebug::emitDebugLocEntry().
Definition at line 108 of file DebugLocStream.h.
References llvm::DebugLocStream::List::EntryOffset, and llvm::makeArrayRef().
Referenced by llvm::DIEHash::addSLEB128(), and emitLoclistsTableHeader().
Definition at line 65 of file DebugLocStream.h.
Referenced by llvm::DIEHash::addSLEB128(), and llvm::DIELocList::EmitValue().
Definition at line 66 of file DebugLocStream.h.
References llvm::HexStyle::Asm, llvm::SmallVectorImpl< T >::emplace_back(), and llvm::SmallVectorBase::size().
Referenced by llvm::DwarfDebug::beginModule(), and emitLoclistsTableHeader().
|
inline |
Definition at line 64 of file DebugLocStream.h.
References llvm::SmallVectorBase::size().
|
inline |
Definition at line 104 of file DebugLocStream.h.
Referenced by llvm::DebugLocStream::EntryBuilder::getStreamer().