LLVM  14.0.0git
Public Member Functions | List of all members
llvm::BTFStringTable Class Reference

String table. More...

#include "Target/BPF/BTFDebug.h"

Public Member Functions

 BTFStringTable ()
 
uint32_t getSize ()
 
std::vector< std::string > & getTable ()
 
uint32_t addString (StringRef S)
 Add a string to the string table and returns its offset in the table. More...
 

Detailed Description

String table.

Definition at line 220 of file BTFDebug.h.

Constructor & Destructor Documentation

◆ BTFStringTable()

llvm::BTFStringTable::BTFStringTable ( )
inline

Definition at line 231 of file BTFDebug.h.

Member Function Documentation

◆ addString()

uint32_t BTFStringTable::addString ( StringRef  S)

Add a string to the string table and returns its offset in the table.

Definition at line 410 of file BTFDebug.cpp.

References Offset, S, and llvm::Check::Size.

◆ getSize()

uint32_t llvm::BTFStringTable::getSize ( )
inline

Definition at line 232 of file BTFDebug.h.

◆ getTable()

std::vector<std::string>& llvm::BTFStringTable::getTable ( )
inline

Definition at line 233 of file BTFDebug.h.


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