[COFF] Remove finalizeContents virtual method from Chunk, NFC
authorReid Kleckner <rnk@google.com>
Fri, 24 May 2019 00:02:00 +0000 (00:02 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 24 May 2019 00:02:00 +0000 (00:02 +0000)
commit11c141eb68531eec30af8ff8f82b8159de99e555
treec432a2dd3dc579a0a54369fec854d8b563639d6d
parentae02e8944807c7b611ca3645a983c62d464f27a4
[COFF] Remove finalizeContents virtual method from Chunk, NFC

This only needs to be done for MergeChunks, so just do that in a
separate pass in the Writer.

This is one small step towards eliminating the vtable in Chunk.

llvm-svn: 361573
lld/COFF/Chunks.cpp
lld/COFF/Chunks.h
lld/COFF/Writer.cpp