@@ -187,9 +187,6 @@ class DebugSHandler {
187
187
// / The object file whose .debug$S sections we're processing.
188
188
ObjFile &file;
189
189
190
- // / The result of merging type indices.
191
- TpiSource *source;
192
-
193
190
// / The DEBUG_S_STRINGTABLE subsection. These strings are referred to by
194
191
// / index from other records in the .debug$S section. All of these strings
195
192
// / need to be added to the global PDB string table, and all references to
@@ -231,8 +228,8 @@ class DebugSHandler {
231
228
const DebugSubsectionRecord &ss);
232
229
233
230
public:
234
- DebugSHandler (PDBLinker &linker, ObjFile &file, TpiSource *source )
235
- : linker(linker), file(file), source(source) {}
231
+ DebugSHandler (PDBLinker &linker, ObjFile &file)
232
+ : linker(linker), file(file) {}
236
233
237
234
void handleDebugS (SectionChunk *debugChunk);
238
235
@@ -1033,7 +1030,7 @@ void PDBLinker::addDebugSymbols(TpiSource *source) {
1033
1030
ScopedTimer t (ctx.symbolMergingTimer );
1034
1031
ExitOnError exitOnErr;
1035
1032
pdb::DbiStreamBuilder &dbiBuilder = builder.getDbiBuilder ();
1036
- DebugSHandler dsh (*this , *source->file , source );
1033
+ DebugSHandler dsh (*this , *source->file );
1037
1034
// Now do all live .debug$S and .debug$F sections.
1038
1035
for (SectionChunk *debugChunk : source->file ->getDebugChunks ()) {
1039
1036
if (!debugChunk->live || debugChunk->getSize () == 0 )
0 commit comments