[DWARF] Remove extractFast (NFC)

The last use was removed on Dec 13, 2016 in commit
c8c1032c0c.  This patch repurposes the
function comment for the other variant of extractFast.
This commit is contained in:
Kazu Hirata 2021-08-11 09:55:00 -07:00
parent a0a9c9e188
commit 63c566b1fd
2 changed files with 0 additions and 9 deletions

View File

@ -36,8 +36,6 @@ public:
/// Extracts a debug info entry, which is a child of a given unit, /// Extracts a debug info entry, which is a child of a given unit,
/// starting at a given offset. If DIE can't be extracted, returns false and /// starting at a given offset. If DIE can't be extracted, returns false and
/// doesn't change OffsetPtr. /// doesn't change OffsetPtr.
bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
/// High performance extraction should use this call. /// High performance extraction should use this call.
bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr, bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset, const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,

View File

@ -19,13 +19,6 @@
using namespace llvm; using namespace llvm;
using namespace dwarf; using namespace dwarf;
bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U,
uint64_t *OffsetPtr) {
DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor();
const uint64_t UEndOffset = U.getNextUnitOffset();
return extractFast(U, OffsetPtr, DebugInfoData, UEndOffset, 0);
}
bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint64_t *OffsetPtr, bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
const DWARFDataExtractor &DebugInfoData, const DWARFDataExtractor &DebugInfoData,
uint64_t UEndOffset, uint32_t D) { uint64_t UEndOffset, uint32_t D) {