LLVM  8.0.1
Classes | Enumerations
llvm::BTF Namespace Reference

Classes

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  BTFEnum
 BTF_KIND_ENUM is followed by multiple "struct BTFEnum". 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  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 = 24, CommonTypeSize = 12, BTFArraySize = 12,
  BTFEnumSize = 8, BTFMemberSize = 12, BTFParamSize = 8, SecFuncInfoSize = 8,
  SecLineInfoSize = 8, BPFFuncInfoSize = 8, BPFLineInfoSize = 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...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
MAGIC 
VERSION 

Definition at line 48 of file BTF.h.

◆ anonymous enum

anonymous enum

Sizes in bytes of various things in the BTF format.

Enumerator
HeaderSize 
ExtHeaderSize 
CommonTypeSize 
BTFArraySize 
BTFEnumSize 
BTFMemberSize 
BTFParamSize 
SecFuncInfoSize 
SecLineInfoSize 
BPFFuncInfoSize 
BPFLineInfoSize 

Definition at line 51 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 79 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 125 of file BTF.h.

◆ TypeKinds

enum llvm::BTF::TypeKinds : uint8_t

Definition at line 83 of file BTF.h.