LLVM 20.0.0git
|
A container for inline string values. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
template<typename Allocator > | |
DIEInlineString (StringRef Str, Allocator &A) | |
~DIEInlineString ()=default | |
StringRef | getString () const |
Grab the string out of the object. | |
void | emitValue (const AsmPrinter *AP, dwarf::Form Form) const |
unsigned | sizeOf (const dwarf::FormParams &, dwarf::Form) const |
void | print (raw_ostream &O) const |
A container for inline string values.
This class is used with the DW_FORM_string form.
|
default |
void DIEInlineString::emitValue | ( | const AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const |
Definition at line 618 of file DIE.cpp.
References llvm::AsmPrinter::emitInt8(), llvm_unreachable, and llvm::AsmPrinter::OutStreamer.
|
inline |
LLVM_DUMP_METHOD void DIEInlineString::print | ( | raw_ostream & | O | ) | const |
unsigned DIEInlineString::sizeOf | ( | const dwarf::FormParams & | , |
dwarf::Form | |||
) | const |
Definition at line 627 of file DIE.cpp.
References llvm::StringRef::size().