Delete dead function.

llvm-svn: 304914
This commit is contained in:
Rafael Espindola 2017-06-07 14:24:32 +00:00
parent ae8d22cee2
commit 66d98495b0
1 changed files with 0 additions and 11 deletions

View File

@ -1699,17 +1699,6 @@ readCuList(DWARFContext &Dwarf, InputSection *Sec) {
return Ret;
}
static InputSection *findSection(ArrayRef<InputSectionBase *> Arr,
uint64_t Offset) {
for (InputSectionBase *S : Arr)
if (auto *IS = dyn_cast_or_null<InputSection>(S))
if (IS != &InputSection::Discarded && IS->Live &&
Offset >= IS->getOffsetInFile() &&
Offset < IS->getOffsetInFile() + IS->getSize())
return IS;
return nullptr;
}
static std::vector<AddressEntry>
readAddressArea(DWARFContext &Dwarf, InputSection *Sec, size_t CurrentCU) {
std::vector<AddressEntry> Ret;