[lld][WebAssembly] Minor refactor in preparation for SHF_STRINGS supports. NFC.
authorSam Clegg <sbc@chromium.org>
Sat, 27 Feb 2021 00:54:15 +0000 (16:54 -0800)
committerSam Clegg <sbc@chromium.org>
Tue, 2 Mar 2021 00:15:29 +0000 (16:15 -0800)
commit7d09e1d7cf27ce781e83f9d388a7a3e1e6487ead
treed4ce16a66bd9fb7839f6727d19bad53667fc72a4
parent74ca5c2c1e0214f82b1c19e0c9f8f30fa59ffbf3
[lld][WebAssembly] Minor refactor in preparation for SHF_STRINGS supports. NFC.

A couple of small changes to match the ELF linker in preparation
for adding support string mergings.

Differential Revision: https://reviews.llvm.org/D97654
lld/wasm/InputChunks.h
lld/wasm/OutputSegment.h
lld/wasm/Writer.cpp