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

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

#include "llvm/DebugInfo/BTF/BTF.h"

Public Attributes

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

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 154 of file BTF.h.

Member Data Documentation

◆ NameOff

uint32_t llvm::BTF::BTFEnum::NameOff

Enum name offset in the string table.

Definition at line 155 of file BTF.h.

Referenced by llvm::BTFTypeEnum::completeType(), and llvm::BTFParser::symbolize().

◆ Val

int32_t llvm::BTF::BTFEnum::Val

Enum member value.

Definition at line 156 of file BTF.h.

Referenced by llvm::BTFTypeEnum::completeType(), and llvm::BTFParser::symbolize().


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