File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " DWARFDataExtractor.h"
10
- #include " llvm/ADT/StringRef .h"
10
+ #include " llvm/ADT/ArrayRef .h"
11
11
12
12
namespace lldb_private {
13
13
14
- uint64_t
15
- DWARFDataExtractor::GetDWARFInitialLength (lldb::offset_t *offset_ptr) const {
16
- return GetU32 (offset_ptr);
17
- }
18
-
19
- dw_offset_t
20
- DWARFDataExtractor::GetDWARFOffset (lldb::offset_t *offset_ptr) const {
21
- return GetMaxU64 (offset_ptr, GetDWARFSizeOfOffset ());
22
- }
23
-
24
14
llvm::DWARFDataExtractor DWARFDataExtractor::GetAsLLVMDWARF () const {
25
15
return llvm::DWARFDataExtractor (llvm::ArrayRef (GetDataStart (), GetByteSize ()),
26
16
GetByteOrder () == lldb::eByteOrderLittle,
Original file line number Diff line number Diff line change 9
9
#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H
10
10
#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDATAEXTRACTOR_H
11
11
12
- #include " lldb/Core/dwarf.h"
13
12
#include " lldb/Utility/DataExtractor.h"
14
13
#include " llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
15
14
@@ -23,13 +22,6 @@ class DWARFDataExtractor : public DataExtractor {
23
22
lldb::offset_t length)
24
23
: DataExtractor(data, offset, length) {}
25
24
26
- uint64_t GetDWARFInitialLength (lldb::offset_t *offset_ptr) const ;
27
-
28
- dw_offset_t GetDWARFOffset (lldb::offset_t *offset_ptr) const ;
29
-
30
- size_t GetDWARFSizeofInitialLength () const { return 4 ; }
31
- size_t GetDWARFSizeOfOffset () const { return 4 ; }
32
-
33
25
llvm::DWARFDataExtractor GetAsLLVMDWARF () const ;
34
26
llvm::DataExtractor GetAsLLVM () const ;
35
27
};
You can’t perform that action at this time.
0 commit comments