LLVM  9.0.0svn
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 134 of file BTF.h.

Member Data Documentation

◆ NameOff

uint32_t llvm::BTF::BTFEnum::NameOff

Enum name offset in the string table.

Definition at line 135 of file BTF.h.

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

◆ Val

int32_t llvm::BTF::BTFEnum::Val

Enum member value.

Definition at line 136 of file BTF.h.

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


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