LLDB mainline
DWARFDebugRanges.h
Go to the documentation of this file.
1//===-- DWARFDebugRanges.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_DWARFDEBUGRANGES_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEBUGRANGES_H
11
12#include "lldb/Core/dwarf.h"
13#include <map>
14
15class DWARFUnit;
16namespace lldb_private {
17class DWARFContext;
18}
19
21public:
23
26 dw_offset_t debug_ranges_offset) const;
27
28protected:
29 std::map<dw_offset_t, DWARFRangeList> m_range_map;
30};
31
32#endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEBUGRANGES_H
std::map< dw_offset_t, DWARFRangeList > m_range_map
DWARFRangeList FindRanges(const DWARFUnit *cu, dw_offset_t debug_ranges_offset) const
void Extract(lldb_private::DWARFContext &context)
uint64_t dw_offset_t
Definition: dwarf.h:31
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14