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 | |
|---|---|
| LLVM_ABI | MCDwarfLineStr (MCContext &Ctx) |
| Construct an instance that can emit .debug_line_str (for use in a normal v5 line table). | |
| StringSaver & | getSaver () |
| LLVM_ABI void | emitRef (MCStreamer *MCOS, StringRef Path) |
| Emit a reference to the string. | |
| LLVM_ABI void | emitSection (MCStreamer *MCOS) |
| Emit the .debug_line_str section if appropriate. | |
| LLVM_ABI SmallString< 0 > | getFinalizedData () |
| Returns finalized section. | |
| LLVM_ABI size_t | addString (StringRef Path) |
| Adds path Path to the line string. |
Manage the .debug_line_str section contents, if we use it.
Definition at line 52 of file MCDwarf.h.
| MCDwarfLineStr::MCDwarfLineStr ( MCContext & Ctx) | explicit |
|---|
◆ addString()
| size_t MCDwarfLineStr::addString | ( | StringRef | Path | ) |
|---|
Adds path Path to the line string.
Returns offset in the .debug_line_str section.
Definition at line 403 of file MCDwarf.cpp.
Referenced by emitRef().
◆ emitRef()
◆ 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