LLVM  14.0.0git
Public Attributes | List of all members
llvm::BTF::CommonType Struct Reference

The BTF common type definition. More...

#include "Target/BPF/BTF.h"

Collaboration diagram for llvm::BTF::CommonType:
Collaboration graph
[legend]

Public Attributes

uint32_t NameOff
 Type name offset in the string table. More...
 
uint32_t Info
 "Info" bits arrangement: Bits 0-15: vlen (e.g. More...
 
union {
   uint32_t   Size
 
   uint32_t   Type
 
}; 
 "Size" is used by INT, ENUM, STRUCT and UNION. More...
 

Detailed Description

The BTF common type definition.

Different kinds may have additional information after this structure data.

Definition at line 99 of file BTF.h.

Member Data Documentation

◆ @476

union { ... }

"Size" is used by INT, ENUM, STRUCT and UNION.

"Size" tells the size of the type it is describing.

"Type" is used by PTR, TYPEDEF, VOLATILE, CONST, RESTRICT, FUNC, FUNC_PROTO, VAR and TAG. "Type" is a type_id referring to another type.

◆ Info

uint32_t llvm::BTF::CommonType::Info

◆ NameOff

uint32_t llvm::BTF::CommonType::NameOff

◆ Size

uint32_t llvm::BTF::CommonType::Size

◆ Type

uint32_t llvm::BTF::CommonType::Type

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