LLVM 20.0.0git
|
A container for string pool string values. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
DIEString (DwarfStringPoolEntryRef S) | |
StringRef | getString () const |
Grab the string out of the object. | |
void | emitValue (const AsmPrinter *AP, dwarf::Form Form) const |
EmitValue - Emit string value. | |
unsigned | sizeOf (const dwarf::FormParams &FormParams, dwarf::Form Form) const |
sizeOf - Determine size of delta value in bytes. | |
void | print (raw_ostream &O) const |
A container for string pool string values.
This class is used with the DW_FORM_strp and DW_FORM_GNU_str_index forms.
|
inline |
void DIEString::emitValue | ( | const AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const |
EmitValue - Emit string value.
Definition at line 566 of file DIE.cpp.
References llvm::AsmPrinter::doesDwarfUseRelocationsAcrossSections(), llvm::DIELabel::emitValue(), llvm::DIEInteger::emitValue(), llvm::DwarfStringPoolEntryRef::getIndex(), llvm::DwarfStringPoolEntryRef::getOffset(), llvm::DwarfStringPoolEntryRef::getSymbol(), and llvm_unreachable.
|
inline |
Grab the string out of the object.
Definition at line 285 of file DIE.h.
References llvm::DwarfStringPoolEntryRef::getString().
LLVM_DUMP_METHOD void DIEString::print | ( | raw_ostream & | O | ) | const |
Definition at line 611 of file DIE.cpp.
References llvm::DwarfStringPoolEntryRef::getString().
unsigned DIEString::sizeOf | ( | const dwarf::FormParams & | FormParams, |
dwarf::Form | Form | ||
) | const |
sizeOf - Determine size of delta value in bytes.
Definition at line 590 of file DIE.cpp.
References llvm::dwarf::FormParams::DwarfUsesRelocationsAcrossSections, llvm::DwarfStringPoolEntryRef::getIndex(), llvm::DwarfStringPoolEntryRef::getOffset(), llvm::DwarfStringPoolEntryRef::getSymbol(), llvm_unreachable, llvm::DIEInteger::sizeOf(), and llvm::DIELabel::sizeOf().