class MCDwarfLineStr

Declaration

class MCDwarfLineStr { /* full declaration omitted */ };

Description

Manage the .debug_line_str section contents, if we use it.

Declared at: llvm/include/llvm/MC/MCDwarf.h:51

Member Variables

private llvm::BumpPtrAllocator Alloc
private llvm::StringSaver Saver = {this->Alloc}
private llvm::MCSymbol* LineStrLabel = nullptr
private llvm::StringTableBuilder LineStrings = {StringTableBuilder::DWARF}
private bool UseRelocs = false

Method Overview

Methods

MCDwarfLineStr(llvm::MCContext& Ctx)

Description

Construct an instance that can emit .debug_line_str (for use in a normal v5 line table).

Declared at: llvm/include/llvm/MC/MCDwarf.h:61

Parameters

llvm::MCContext& Ctx

void emitRef(llvm::MCStreamer* MCOS,
             llvm::StringRef Path)

Description

Emit a reference to the string.

Declared at: llvm/include/llvm/MC/MCDwarf.h:66

Parameters

llvm::MCStreamer* MCOS
llvm::StringRef Path

void emitSection(llvm::MCStreamer* MCOS)

Description

Emit the .debug_line_str section if appropriate.

Declared at: llvm/include/llvm/MC/MCDwarf.h:69

Parameters

llvm::MCStreamer* MCOS

SmallString<0> getFinalizedData()

Description

Returns finalized section.

Declared at: llvm/include/llvm/MC/MCDwarf.h:72

llvm::StringSaver& getSaver()

Declared at: llvm/include/llvm/MC/MCDwarf.h:63