LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::StringToOffsetTable Class Reference

#include <StringToOffsetTable.h>

Public Member Functions

unsigned GetOrAddStringOffset (StringRef Str, bool appendZero=true)
 
void EmitString (raw_ostream &O)
 

Detailed Description

StringToOffsetTable - This class uniques a bunch of nul-terminated strings and keeps track of their offset in a massive contiguous string allocation. It can then output this string blob and use indexes into the string to reference each piece.

Definition at line 25 of file StringToOffsetTable.h.

Member Function Documentation

void llvm::StringToOffsetTable::EmitString ( raw_ostream O)
inline
unsigned llvm::StringToOffsetTable::GetOrAddStringOffset ( StringRef  Str,
bool  appendZero = true 
)
inline

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