File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1719,17 +1719,6 @@ static Expected<size_t> getSizeFromDwarfHeader(BinaryStreamReader &Reader) {
1719
1719
return Word1;
1720
1720
}
1721
1721
1722
- // TODO: Remove
1723
- Expected<size_t >
1724
- mccasformats::v1::getSizeFromDwarfHeaderAndSkip (BinaryStreamReader &Reader) {
1725
- Expected<size_t > Size = getSizeFromDwarfHeader (Reader);
1726
- if (!Size)
1727
- return Size.takeError ();
1728
- if (auto E = Reader.skip (*Size))
1729
- return std::move (E);
1730
- return Size;
1731
- }
1732
-
1733
1722
// / Returns the Abbreviation Offset field of a Dwarf Compilation Unit (CU)
1734
1723
// / contained in CUData, as well as the total number of bytes taken by the CU.
1735
1724
// / Note: this is different from the length field of the Dwarf header, which
You can’t perform that action at this time.
0 commit comments