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 @@ -1726,17 +1726,6 @@ static Expected<size_t> getSizeFromDwarfHeader(BinaryStreamReader &Reader) {
1726
1726
return Word1;
1727
1727
}
1728
1728
1729
- // TODO: Remove
1730
- Expected<size_t >
1731
- mccasformats::v1::getSizeFromDwarfHeaderAndSkip (BinaryStreamReader &Reader) {
1732
- Expected<size_t > Size = getSizeFromDwarfHeader (Reader);
1733
- if (!Size)
1734
- return Size.takeError ();
1735
- if (auto E = Reader.skip (*Size))
1736
- return std::move (E);
1737
- return Size;
1738
- }
1739
-
1740
1729
// / Returns the Abbreviation Offset field of a Dwarf Compilation Unit (CU)
1741
1730
// / contained in CUData, as well as the total number of bytes taken by the CU.
1742
1731
// / 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