[yaml2obj][obj2yaml] - Do not create a symbol table by default.
[llvm-complete.git] / lib / Target / BPF / BTF.def
blob2d2e9a04aa6d46eb411eaa0e719c24b73cfbff66
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)
34 #undef HANDLE_BTF_KIND