Index: lld/COFF/PDB.cpp =================================================================== --- lld/COFF/PDB.cpp +++ lld/COFF/PDB.cpp @@ -832,9 +832,6 @@ for (const DebugSubsectionRecord &SS : Subsections) { switch (SS.kind()) { case DebugSubsectionKind::StringTable: { - auto Data = SS.getRecordData(); - ArrayRef Buffer; - cantFail(Data.readLongestContiguousChunk(0, Buffer)); assert(!CVStrTab.valid() && "Encountered multiple string table subsections!"); ExitOnErr(CVStrTab.initialize(SS.getRecordData()));