[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / lib / Target / BPF / BTF.def
blob66cf2c90ead4d6c3fa90b08cfe16009fa6bd83fb
1 //===- BTF.def - BTF definitions --------------------------------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Macros for BTF.
11 //===----------------------------------------------------------------------===//
13 #if !defined(HANDLE_BTF_KIND)
14 #error "Missing macro definition of HANDLE_BTF_*"
15 #endif
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)
33 HANDLE_BTF_KIND(16, FLOAT)
35 #undef HANDLE_BTF_KIND