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 <cstdint> |
14 | |
15 | namespace lldb_private::plugin { |
16 | namespace dwarf { |
17 | |
18 | typedef uint32_t DRC_class; // Holds DRC_* class bitfields |
19 | |
20 | const char *DW_TAG_value_to_name(uint32_t val); |
21 | |
22 | const char *DW_AT_value_to_name(uint32_t val); |
23 | |
24 | const char *DW_FORM_value_to_name(uint32_t val); |
25 | |
26 | const char *DW_OP_value_to_name(uint32_t val); |
27 | |
28 | const char *DW_ATE_value_to_name(uint32_t val); |
29 | |
30 | const char *DW_LANG_value_to_name(uint32_t val); |
31 | |
32 | const char *DW_LNS_value_to_name(uint32_t val); |
33 | |
34 | } // namespace dwarf |
35 | } // namespace lldb_private::plugin |
36 | |
37 | #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEFINES_H |
38 | |