Skip to content

Commit 63c566b

Browse files
[DWARF] Remove extractFast (NFC)
The last use was removed on Dec 13, 2016 in commit c8c1032. This patch repurposes the function comment for the other variant of extractFast.
1 parent a0a9c9e commit 63c566b

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class DWARFDebugInfoEntry {
3636
/// Extracts a debug info entry, which is a child of a given unit,
3737
/// starting at a given offset. If DIE can't be extracted, returns false and
3838
/// doesn't change OffsetPtr.
39-
bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
40-
4139
/// High performance extraction should use this call.
4240
bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
4341
const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,

llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
using namespace llvm;
2020
using namespace dwarf;
2121

22-
bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U,
23-
uint64_t *OffsetPtr) {
24-
DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor();
25-
const uint64_t UEndOffset = U.getNextUnitOffset();
26-
return extractFast(U, OffsetPtr, DebugInfoData, UEndOffset, 0);
27-
}
28-
2922
bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
3023
const DWARFDataExtractor &DebugInfoData,
3124
uint64_t UEndOffset, uint32_t D) {

0 commit comments

Comments
 (0)