|
LLVM
4.0.0
|
A container for string pool string values. More...
#include <DIE.h>
Public Member Functions | |
| DIEString (DwarfStringPoolEntryRef S) | |
| StringRef | getString () const |
| Grab the string out of the object. More... | |
| void | EmitValue (const AsmPrinter *AP, dwarf::Form Form) const |
| EmitValue - Emit string value. More... | |
| unsigned | SizeOf (const AsmPrinter *AP, dwarf::Form Form) const |
| SizeOf - Determine size of delta value in bytes. More... | |
| 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 558 of file DIE.cpp.
References assert(), llvm::MCAsmInfo::doesDwarfUseRelocationsAcrossSections(), llvm::DwarfStringPoolEntryRef::getIndex(), llvm::DwarfStringPoolEntryRef::getOffset(), llvm::DwarfStringPoolEntryRef::getSymbol(), and llvm::AsmPrinter::MAI.
|
inline |
Grab the string out of the object.
Definition at line 258 of file DIE.h.
References llvm::DwarfStringPoolEntryRef::getString().
| LLVM_DUMP_METHOD void DIEString::print | ( | raw_ostream & | O | ) | const |
Definition at line 600 of file DIE.cpp.
References llvm::DwarfStringPoolEntryRef::getString().
| unsigned DIEString::SizeOf | ( | const AsmPrinter * | AP, |
| dwarf::Form | Form | ||
| ) | const |
SizeOf - Determine size of delta value in bytes.
Definition at line 582 of file DIE.cpp.
References assert(), llvm::MCAsmInfo::doesDwarfUseRelocationsAcrossSections(), llvm::DwarfStringPoolEntryRef::getIndex(), llvm::DwarfStringPoolEntryRef::getOffset(), llvm::DwarfStringPoolEntryRef::getSymbol(), and llvm::AsmPrinter::MAI.
1.8.6