1 //===- BTF.def
- BTF definitions
--------------------------------*- C
++ -*-===//
3 // Part of the LLVM Project
, under the Apache License v2.0 with LLVM Exceptions.
4 // See https
://llvm.org
/LICENSE.txt for license information.
5 // SPDX
-License
-Identifier
: Apache
-2.0 WITH LLVM
-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
13 #if
!defined(HANDLE_BTF_KIND
)
14 #error
"Missing macro definition of HANDLE_BTF_*"
17 HANDLE_BTF_KIND(0, UNKN
)
18 HANDLE_BTF_KIND(1, INT
)
19 HANDLE_BTF_KIND(2, PTR
)
20 HANDLE_BTF_KIND(3, ARRAY)
21 HANDLE_BTF_KIND(4, STRUCT
)
22 HANDLE_BTF_KIND(5, UNION
)
23 HANDLE_BTF_KIND(6, ENUM
)
24 HANDLE_BTF_KIND(7, FWD
)
25 HANDLE_BTF_KIND(8, TYPEDEF
)
26 HANDLE_BTF_KIND(9, VOLATILE
)
27 HANDLE_BTF_KIND(10, CONST)
28 HANDLE_BTF_KIND(11, RESTRICT
)
29 HANDLE_BTF_KIND(12, FUNC
)
30 HANDLE_BTF_KIND(13, FUNC_PROTO
)
31 HANDLE_BTF_KIND(14, VAR)
32 HANDLE_BTF_KIND(15, DATASEC
)
34 #undef HANDLE_BTF_KIND