Path: blob/main/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h
39645 views
//===-- DWARFDebugRanges.h --------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEBUGRANGES_H9#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEBUGRANGES_H1011#include "lldb/Core/dwarf.h"12#include <map>1314namespace lldb_private::plugin {15namespace dwarf {16class DWARFUnit;17class DWARFContext;1819class DWARFDebugRanges {20public:21DWARFDebugRanges();2223void Extract(DWARFContext &context);24DWARFRangeList FindRanges(const DWARFUnit *cu,25dw_offset_t debug_ranges_offset) const;2627protected:28std::map<dw_offset_t, DWARFRangeList> m_range_map;29};30} // namespace dwarf31} // namespace lldb_private::plugin3233#endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEBUGRANGES_H343536