LLVM 19.0.0git
Public Attributes | List of all members
llvm::BTF::BTFMember Struct Reference

BTF_KIND_STRUCT and BTF_KIND_UNION are followed by multiple "struct BTFMember". More...

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

Public Attributes

uint32_t NameOff
 Member name offset in the string table.
 
uint32_t Type
 Member type.
 
uint32_t Offset
 BitOffset or BitFieldSize+BitOffset.
 

Detailed Description

BTF_KIND_STRUCT and BTF_KIND_UNION are followed by multiple "struct BTFMember".

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

If the struct/union contains any bitfield member, the Offset below represents BitOffset (bits 0 - 23) and BitFieldSize(bits 24 - 31) with BitFieldSize = 0 for non bitfield members. Otherwise, the Offset represents the BitOffset.

Definition at line 185 of file BTF.h.

Member Data Documentation

◆ NameOff

uint32_t llvm::BTF::BTFMember::NameOff

Member name offset in the string table.

Definition at line 186 of file BTF.h.

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

◆ Offset

uint32_t llvm::BTF::BTFMember::Offset

BitOffset or BitFieldSize+BitOffset.

Definition at line 188 of file BTF.h.

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

◆ Type

uint32_t llvm::BTF::BTFMember::Type

Member type.

Definition at line 187 of file BTF.h.

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


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