LLVM 17.0.0git
Classes | Enumerations
llvm::BTF Namespace Reference

Classes

struct  BPFFieldReloc
 Specifying one offset relocation. More...
 
struct  BPFFuncInfo
 Specifying one function info. More...
 
struct  BPFLineInfo
 Specifying one line info. More...
 
struct  BTFArray
 BTF_KIND_ARRAY is followed by one "struct BTFArray". More...
 
struct  BTFDataSec
 BTF_KIND_DATASEC are followed by multiple "struct BTFDataSecVar". More...
 
struct  BTFEnum
 BTF_KIND_ENUM is followed by multiple "struct BTFEnum". More...
 
struct  BTFEnum64
 BTF_KIND_ENUM64 is followed by multiple "struct BTFEnum64". More...
 
struct  BTFMember
 BTF_KIND_STRUCT and BTF_KIND_UNION are followed by multiple "struct BTFMember". More...
 
struct  BTFParam
 BTF_KIND_FUNC_PROTO are followed by multiple "struct BTFParam". More...
 
struct  CommonType
 The BTF common type definition. More...
 
struct  ExtHeader
 The .BTF.ext section header definition. More...
 
struct  Header
 The .BTF section header definition. More...
 
struct  SecFieldReloc
 Specifying offset relocation's in one section. More...
 
struct  SecFuncInfo
 Specifying function info's in one section. More...
 
struct  SecLineInfo
 Specifying line info's in one section. More...
 

Enumerations

enum  : uint32_t { MAGIC = 0xeB9F , VERSION = 1 }
 
enum  {
  HeaderSize = 24 , ExtHeaderSize = 32 , CommonTypeSize = 12 , BTFArraySize = 12 ,
  BTFEnumSize = 8 , BTFEnum64Size = 12 , BTFMemberSize = 12 , BTFParamSize = 8 ,
  BTFDataSecVarSize = 12 , SecFuncInfoSize = 8 , SecLineInfoSize = 8 , SecFieldRelocSize = 8 ,
  BPFFuncInfoSize = 8 , BPFLineInfoSize = 16 , BPFFieldRelocSize = 16
}
 Sizes in bytes of various things in the BTF format. More...
 
enum  : uint32_t { MAX_VLEN = 0xffff }
 
enum  TypeKinds : uint8_t
 
enum  : uint8_t { INT_SIGNED = (1 << 0) , INT_CHAR = (1 << 1) , INT_BOOL = (1 << 2) }
 Attributes stored in the INT_ENCODING. More...
 
enum  : uint8_t { FUNC_STATIC = 0 , FUNC_GLOBAL = 1 , FUNC_EXTERN = 2 }
 BTF_KIND_FUNC can be global, static or extern. More...
 
enum  : uint8_t { VAR_STATIC = 0 , VAR_GLOBAL_ALLOCATED = 1 , VAR_GLOBAL_EXTERNAL = 2 }
 Variable scoping information. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
MAGIC 
VERSION 

Definition at line 56 of file BTF.h.

◆ anonymous enum

anonymous enum

Sizes in bytes of various things in the BTF format.

Enumerator
HeaderSize 
ExtHeaderSize 
CommonTypeSize 
BTFArraySize 
BTFEnumSize 
BTFEnum64Size 
BTFMemberSize 
BTFParamSize 
BTFDataSecVarSize 
SecFuncInfoSize 
SecLineInfoSize 
SecFieldRelocSize 
BPFFuncInfoSize 
BPFLineInfoSize 
BPFFieldRelocSize 

Definition at line 59 of file BTF.h.

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
MAX_VLEN 

Max # of struct/union/enum members or func args.

Definition at line 91 of file BTF.h.

◆ anonymous enum

anonymous enum : uint8_t

Attributes stored in the INT_ENCODING.

Enumerator
INT_SIGNED 
INT_CHAR 
INT_BOOL 

Definition at line 137 of file BTF.h.

◆ anonymous enum

anonymous enum : uint8_t

BTF_KIND_FUNC can be global, static or extern.

Enumerator
FUNC_STATIC 
FUNC_GLOBAL 
FUNC_EXTERN 

Definition at line 192 of file BTF.h.

◆ anonymous enum

anonymous enum : uint8_t

Variable scoping information.

Enumerator
VAR_STATIC 

Linkage: InternalLinkage.

VAR_GLOBAL_ALLOCATED 

Linkage: ExternalLinkage.

VAR_GLOBAL_EXTERNAL 

Linkage: ExternalLinkage.

Definition at line 199 of file BTF.h.

◆ TypeKinds

enum llvm::BTF::TypeKinds : uint8_t

Definition at line 95 of file BTF.h.