31 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H11 12#include "lldb/Utility/DataExtractor.h"13#include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"14 15namespace lldb_private {16 17class DWARFDataExtractor : public DataExtractor {18public:19 DWARFDataExtractor() = default;20 21 DWARFDataExtractor(const DWARFDataExtractor &data, lldb::offset_t offset,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_private29 30#endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H31