if (!CU->extract(DIData, &offset)) {
break;
}
- CUs.push_back(CU.take());
+ CUs.push_back(CU.release());
offset = CUs.back()->getNextUnitOffset();
}
}
&I->second.Relocs, isLittleEndian()));
if (!TU->extract(DIData, &offset))
break;
- TUs.push_back(TU.take());
+ TUs.push_back(TU.release());
offset = TUs.back()->getNextUnitOffset();
}
}
if (!DWOCU->extract(DIData, &offset)) {
break;
}
- DWOCUs.push_back(DWOCU.take());
+ DWOCUs.push_back(DWOCU.release());
offset = DWOCUs.back()->getNextUnitOffset();
}
}
isLittleEndian()));
if (!TU->extract(DIData, &offset))
break;
- DWOTUs.push_back(TU.take());
+ DWOTUs.push_back(TU.release());
offset = DWOTUs.back()->getNextUnitOffset();
}
}
// Make data point to uncompressed section contents and save its contents.
name = name.substr(1);
data = UncompressedSection->getBuffer();
- UncompressedSections.push_back(UncompressedSection.take());
+ UncompressedSections.push_back(UncompressedSection.release());
}
StringRef *Section =