LLVM 23.0.0git
llvm::offloading::sycl::SymbolTableHeader Struct Reference

Serialized symbol table stored in the "symbols" entry of a SYCL OffloadBinary. More...

#include "llvm/Frontend/Offloading/Utility.h"

Public Attributes

uint32_t Count
 Number of symbol entries.

Detailed Description

Serialized symbol table stored in the "symbols" entry of a SYCL OffloadBinary.

The in-memory layout of the blob is: [ SymbolTableHeader ] [ SymbolTableEntry Entries[N] ] – N == Header.Count [ char StringData[] ] – packed null-terminated names Use writeSymbolTable() to produce the blob and forEachSymbol() to consume it; both encapsulate all pointer arithmetic.

Definition at line 195 of file Utility.h.

Member Data Documentation

◆ Count

uint32_t llvm::offloading::sycl::SymbolTableHeader::Count

Number of symbol entries.

Definition at line 196 of file Utility.h.

Referenced by llvm::offloading::sycl::writeSymbolTable().


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