LLVM: llvm::MCDwarfLineStr Class Reference (original) (raw)
Manage the .debug_line_str section contents, if we use it. More...
#include "[llvm/MC/MCDwarf.h](MCDwarf%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
MCDwarfLineStr (MCContext &Ctx) | |
Construct an instance that can emit .debug_line_str (for use in a normal v5 line table). | |
StringSaver & | getSaver () |
void | emitRef (MCStreamer *MCOS, StringRef Path) |
Emit a reference to the string. | |
void | emitSection (MCStreamer *MCOS) |
Emit the .debug_line_str section if appropriate. | |
SmallString< 0 > | getFinalizedData () |
Returns finalized section. | |
size_t | addString (StringRef Path) |
Adds path Path to the line string. | |
Detailed Description
Manage the .debug_line_str section contents, if we use it.
Definition at line 51 of file MCDwarf.h.
Constructor & Destructor Documentation
MCDwarfLineStr::MCDwarfLineStr ( MCContext & Ctx) | explicit |
---|
Member Function Documentation
◆ addString()
size_t MCDwarfLineStr::addString | ( | StringRef | Path | ) |
---|
◆ emitRef()
Emit a reference to the string.
Definition at line 385 of file MCDwarf.cpp.
References addString(), llvm::MCStreamer::emitCOFFSecRel32(), llvm::MCStreamer::emitIntValue(), llvm::MCStreamer::emitValue(), llvm::MCContext::getAsmInfo(), llvm::MCStreamer::getContext(), llvm::MCContext::getDwarfFormat(), llvm::dwarf::getDwarfOffsetByteSize(), makeStartPlusIntExpr(), llvm::MCAsmInfo::needsDwarfSectionOffsetDirective(), and llvm::Offset.
◆ emitSection()
void MCDwarfLineStr::emitSection | ( | MCStreamer * | MCOS | ) |
---|
◆ getFinalizedData()
◆ getSaver()
StringSaver & llvm::MCDwarfLineStr::getSaver ( ) | inline |
---|
The documentation for this class was generated from the following files:
- include/llvm/MC/MCDwarf.h
- lib/MC/MCDwarf.cpp