LLVM  6.0.0svn
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 AsmPrinter *AP, dwarf::Form 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 272 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEInlineString()

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

Definition at line 277 of file DIE.h.

◆ ~DIEInlineString()

llvm::DIEInlineString::~DIEInlineString ( )
default

Member Function Documentation

◆ EmitValue()

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

Definition at line 615 of file DIE.cpp.

References llvm::AsmPrinter::EmitInt8(), and llvm_unreachable.

◆ getString()

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

Grab the string out of the object.

Definition at line 282 of file DIE.h.

References llvm::RISCVFenceField::O.

◆ print()

LLVM_DUMP_METHOD void DIEInlineString::print ( raw_ostream O) const

Definition at line 631 of file DIE.cpp.

◆ SizeOf()

unsigned DIEInlineString::SizeOf ( const AsmPrinter AP,
dwarf::Form  Form 
) const

Definition at line 625 of file DIE.cpp.

References LLVM_DUMP_METHOD.


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