llvm/lldb/include/lldb/Core/dwarf.h

//===-- dwarf.h -------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_CORE_DWARF_H
#define LLDB_CORE_DWARF_H

#include "lldb/Utility/RangeMap.h"
#include <cstdint>

// Get the DWARF constant definitions from llvm
#include "llvm/BinaryFormat/Dwarf.h"

namespace lldb_private {
namespace dwarf {
  usingnamespacellvm::dwarf;
}
}

dw_attr_t;
dw_form_t;
dw_tag_t;
dw_addr_t; // Dwarf address define that must be big enough for
                            // any addresses in the compile units that get
                            // parsed

dw_offset_t; // Dwarf Debug Information Entry offset for any
                              // offset into the file

/* Constants */
#define DW_DIE_OFFSET_MAX_BITSIZE
#define DW_INVALID_OFFSET
#define DW_INVALID_INDEX

// #define DW_ADDR_none 0x0

#define DW_EH_PE_MASK_ENCODING

DWARFRangeList;

#endif // LLDB_CORE_DWARF_H