LLDB
mainline
llvm-project
lldb
source
Plugins
SymbolFile
DWARF
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
15
namespace
lldb_private::plugin
{
16
namespace
dwarf
{
17
class
DWARFUnit;
18
class
DWARFContext;
19
20
class
DWARFDebugRanges
{
21
public
:
22
DWARFDebugRanges
();
23
24
void
Extract
(
DWARFContext
&context);
25
DWARFRangeList
FindRanges
(
const
DWARFUnit
*cu,
26
dw_offset_t
debug_ranges_offset)
const
;
27
28
protected
:
29
std::map<dw_offset_t, DWARFRangeList>
m_range_map
;
30
};
31
}
// namespace dwarf
32
}
// namespace lldb_private::plugin
33
34
#endif
// LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDEBUGRANGES_H
lldb_private::RangeVector
Definition:
RangeMap.h:136
lldb_private::plugin::dwarf::DWARFContext
Definition:
DWARFContext.h:21
lldb_private::plugin::dwarf::DWARFDebugRanges
Definition:
DWARFDebugRanges.h:20
lldb_private::plugin::dwarf::DWARFDebugRanges::DWARFDebugRanges
DWARFDebugRanges()
Definition:
DWARFDebugRanges.cpp:16
lldb_private::plugin::dwarf::DWARFDebugRanges::FindRanges
DWARFRangeList FindRanges(const DWARFUnit *cu, dw_offset_t debug_ranges_offset) const
Definition:
DWARFDebugRanges.cpp:44
lldb_private::plugin::dwarf::DWARFDebugRanges::m_range_map
std::map< dw_offset_t, DWARFRangeList > m_range_map
Definition:
DWARFDebugRanges.h:29
lldb_private::plugin::dwarf::DWARFDebugRanges::Extract
void Extract(DWARFContext &context)
Definition:
DWARFDebugRanges.cpp:18
lldb_private::plugin::dwarf::DWARFUnit
Definition:
DWARFUnit.h:41
dwarf.h
dw_offset_t
uint64_t dw_offset_t
Definition:
dwarf.h:31
dwarf
Definition:
ABISysV_arc.cpp:61
lldb_private::plugin
Definition:
DWARFExpression.h:23
Generated on Tue Oct 15 2024 03:42:47 for LLDB by
1.9.6