LLVM  15.0.0git
Public Member Functions | List of all members
llvm::DIEInlineString Class Reference

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. More...
 
void emitValue (const AsmPrinter *AP, dwarf::Form Form) const
 
unsigned sizeOf (const dwarf::FormParams &, dwarf::Form) const
 
void print (raw_ostream &O) const
 

Detailed Description

A container for inline string values.

This class is used with the DW_FORM_string form.

Definition at line 292 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEInlineString()

template<typename Allocator >
llvm::DIEInlineString::DIEInlineString ( StringRef  Str,
Allocator A 
)
inlineexplicit

Definition at line 297 of file DIE.h.

References S.

◆ ~DIEInlineString()

llvm::DIEInlineString::~DIEInlineString ( )
default

Member Function Documentation

◆ emitValue()

void DIEInlineString::emitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const

◆ getString()

StringRef llvm::DIEInlineString::getString ( ) const
inline

Grab the string out of the object.

Definition at line 302 of file DIE.h.

References S.

◆ print()

LLVM_DUMP_METHOD void DIEInlineString::print ( raw_ostream O) const

Definition at line 638 of file DIE.cpp.

References llvm::RISCVFenceField::O.

◆ sizeOf()

unsigned DIEInlineString::sizeOf ( const dwarf::FormParams ,
dwarf::Form   
) const

Definition at line 632 of file DIE.cpp.

References llvm::StringRef::size().


The documentation for this class was generated from the following files: