LLVM 17.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.
 
uint32_t Info
 "Info" bits arrangement: Bits 0-15: vlen (e.g.
 
union {
   uint32_t   Size
 
   uint32_t   Type
 
}; 
 "Size" is used by INT, ENUM, STRUCT and UNION.
 

Detailed Description

The BTF common type definition.

Different kinds may have additional information after this structure data.

Definition at line 102 of file BTF.h.

Member Data Documentation

◆ 

union { ... } llvm::BTF::CommonType::@503

"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, DECL_TAG and TYPE_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: