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