LLVM
8.0.1
|
The BTF common type definition. More...
#include "Target/BPF/BTF.h"
Public Attributes | |
uint32_t | NameOff |
Type name offset in the string table. More... | |
uint32_t | Info |
"Info" bits arrangement: Bits 0-15: vlen (e.g. More... | |
union { | |
uint32_t Size | |
uint32_t Type | |
}; | |
"Size" is used by INT, ENUM, STRUCT and UNION. More... | |
The BTF common type definition.
Different kinds may have additional information after this structure data.
union { ... } |
"Size" is used by INT, ENUM, STRUCT and UNION.
"Size" tells the size of the type it is describing.
"Type" is used by PTR, TYPEDEF, VOLATILE, CONST, RESTRICT, FUNC and FUNC_PROTO. "Type" is a type_id referring to another type.
uint32_t llvm::BTF::CommonType::Info |
"Info" bits arrangement: Bits 0-15: vlen (e.g.
Bits 16-23: unused Bits 24-27: kind (e.g. int, ptr, array...etc) Bits 28-30: unused Bit 31: kind_flag, currently used by struct, union and fwd
Definition at line 101 of file BTF.h.
Referenced by llvm::BTFTypeArray::BTFTypeArray(), llvm::BTFTypeDerived::BTFTypeDerived(), llvm::BTFTypeEnum::BTFTypeEnum(), llvm::BTFTypeFunc::BTFTypeFunc(), llvm::BTFTypeFuncProto::BTFTypeFuncProto(), llvm::BTFTypeFwd::BTFTypeFwd(), llvm::BTFTypeInt::BTFTypeInt(), llvm::BTFTypeStruct::BTFTypeStruct(), and llvm::BTFTypeBase::emitType().
uint32_t llvm::BTF::CommonType::NameOff |
Type name offset in the string table.
Definition at line 92 of file BTF.h.
Referenced by llvm::BTFTypeDerived::completeType(), llvm::BTFTypeFwd::completeType(), llvm::BTFTypeInt::completeType(), llvm::BTFTypeEnum::completeType(), llvm::BTFTypeArray::completeType(), llvm::BTFTypeStruct::completeType(), llvm::BTFTypeFuncProto::completeType(), llvm::BTFTypeFunc::completeType(), and llvm::BTFTypeBase::emitType().
uint32_t llvm::BTF::CommonType::Size |
Definition at line 110 of file BTF.h.
Referenced by llvm::BTFTypeEnum::BTFTypeEnum(), llvm::BTFTypeInt::BTFTypeInt(), llvm::BTFTypeStruct::BTFTypeStruct(), llvm::BTFTypeArray::completeType(), and llvm::BTFTypeBase::emitType().
uint32_t llvm::BTF::CommonType::Type |
Definition at line 111 of file BTF.h.
Referenced by llvm::BTFTypeFunc::BTFTypeFunc(), llvm::BTFTypeFwd::BTFTypeFwd(), llvm::BTFTypeDerived::completeType(), and llvm::BTFTypeFuncProto::completeType().