LLDB mainline
DWARFDataExtractor.h
Go to the documentation of this file.
1//===-- DWARFDataExtractor.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_DWARFDATAEXTRACTOR_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H
11
13#include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
14
15namespace lldb_private {
16
18public:
19 DWARFDataExtractor() = default;
20
22 lldb::offset_t length)
23 : DataExtractor(data, offset, length) {}
24
25 llvm::DWARFDataExtractor GetAsLLVMDWARF() const;
26 llvm::DataExtractor GetAsLLVM() const;
27};
28} // namespace lldb_private
29
30#endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H
DWARFDataExtractor(const DWARFDataExtractor &data, lldb::offset_t offset, lldb::offset_t length)
llvm::DWARFDataExtractor GetAsLLVMDWARF() const
llvm::DataExtractor GetAsLLVM() const
DataExtractor()
Default constructor.
A class that represents a running process on the host machine.
uint64_t offset_t
Definition lldb-types.h:85