forked from OSchip/llvm-project
[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:
parent
a0a9c9e188
commit
63c566b1fd
|
@ -36,8 +36,6 @@ public:
|
|||
/// 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
|
||||
/// doesn't change OffsetPtr.
|
||||
bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
|
||||
|
||||
/// High performance extraction should use this call.
|
||||
bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
|
||||
const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,
|
||||
|
|
|
@ -19,13 +19,6 @@
|
|||
using namespace llvm;
|
||||
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,
|
||||
const DWARFDataExtractor &DebugInfoData,
|
||||
uint64_t UEndOffset, uint32_t D) {
|
||||
|
|
Loading…
Reference in New Issue