LLVM  10.0.0svn
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  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, 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 { VAR_STATIC = 0, VAR_GLOBAL_ALLOCATED = 1, VAR_GLOBAL_TENTATIVE = 2, VAR_GLOBAL_EXTERNAL = 3 }
 Variable scoping information. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
MAGIC 
VERSION 

Definition at line 54 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 
BTFDataSecVarSize 
SecFuncInfoSize 
SecLineInfoSize 
SecFieldRelocSize 
BPFFuncInfoSize 
BPFLineInfoSize 
BPFFieldRelocSize 

Definition at line 57 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 88 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 134 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_TENTATIVE 

Linkage: CommonLinkage.

VAR_GLOBAL_EXTERNAL 

Linkage: ExternalLinkage.

Definition at line 180 of file BTF.h.

◆ TypeKinds

enum llvm::BTF::TypeKinds : uint8_t

Definition at line 92 of file BTF.h.