LLVM  8.0.1
Public Attributes | List of all members
llvm::BTF::BTFEnum Struct Reference

BTF_KIND_ENUM is followed by multiple "struct BTFEnum". More...

#include "Target/BPF/BTF.h"

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

Public Attributes

uint32_t NameOff
 Enum name offset in the string table. More...
 
int32_t Val
 Enum member value. More...
 

Detailed Description

BTF_KIND_ENUM is followed by multiple "struct BTFEnum".

The exact number of btf_enum is stored in the vlen (of the info in "struct CommonType").

Definition at line 130 of file BTF.h.

Member Data Documentation

◆ NameOff

uint32_t llvm::BTF::BTFEnum::NameOff

Enum name offset in the string table.

Definition at line 131 of file BTF.h.

Referenced by llvm::BTFTypeEnum::completeType().

◆ Val

int32_t llvm::BTF::BTFEnum::Val

Enum member value.

Definition at line 132 of file BTF.h.

Referenced by llvm::BTFTypeEnum::completeType().


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