]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
zfs: merge openzfs/zfs@3522f57b6 (zfs-2.1-release) to stable/13
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Plugins / SymbolFile / DWARF / DWARFDefines.h
1 //===-- DWARFDefines.h ------------------------------------------*- 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 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEFINES_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEFINES_H
11
12 #include "lldb/Core/dwarf.h"
13 #include <stdint.h>
14
15 namespace lldb_private {
16
17 enum class DWARFEnumState { MoreItems, Complete };
18
19 typedef uint32_t DRC_class; // Holds DRC_* class bitfields
20
21 const char *DW_TAG_value_to_name(uint32_t val);
22
23 const char *DW_AT_value_to_name(uint32_t val);
24
25 const char *DW_FORM_value_to_name(uint32_t val);
26
27 const char *DW_OP_value_to_name(uint32_t val);
28
29 const char *DW_ATE_value_to_name(uint32_t val);
30
31 const char *DW_LANG_value_to_name(uint32_t val);
32
33 const char *DW_LNS_value_to_name(uint32_t val);
34
35 } // namespace lldb_private
36
37 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEFINES_H