42 #ifndef LLVM_LIB_TARGET_BPF_BTF_H 43 #define LLVM_LIB_TARGET_BPF_BTF_H 84 #define HANDLE_BTF_KIND(ID, NAME) BTF_KIND_##NAME = ID,
uint32_t NumFuncInfo
Number of func info's in this section.
This class represents lattice values for constants.
uint32_t SecNameOff
Section name index in the .BTF string table.
Specifying one line info.
The BTF common type definition.
uint32_t InsnOffset
Byte offset in the section.
Specifying line info's in one section.
uint32_t Offset
BitOffset or BitFieldSize+BitOffset.
uint32_t Type
Member type.
uint32_t ElemType
Element type.
BTF_KIND_ENUM is followed by multiple "struct BTFEnum".
uint32_t FileNameOff
File name index in the .BTF string table.
BTF_KIND_FUNC_PROTO are followed by multiple "struct BTFParam".
Specifying function info's in one section.
uint32_t LineCol
Line num: line_col >> 10, col num: line_col & 0x3ff.
uint32_t SecNameOff
Section name index in the .BTF string tble.
uint32_t NameOff
Member name offset in the string table.
Specifying one function info.
uint32_t TypeId
Type id referring to .BTF type section.
BTF_KIND_STRUCT and BTF_KIND_UNION are followed by multiple "struct BTFMember".
uint32_t NameOff
Type name offset in the string table.
uint32_t InsnOffset
Byte offset in this section.
int32_t Val
Enum member value.
uint32_t NameOff
Enum name offset in the string table.
uint32_t IndexType
Index type.
BTF_KIND_ARRAY is followed by one "struct BTFArray".
uint32_t Nelems
Number of elements for this array.
Max # of struct/union/enum members or func args.
uint32_t LineOff
Line index in the .BTF string table.
uint32_t Info
"Info" bits arrangement: Bits 0-15: vlen (e.g.
uint32_t NumLineInfo
Number of line info's in this section.