[lld][WebAssembly] Cleanup duplicate fields in Symbols.h. NFC
authorSam Clegg <sbc@chromium.org>
Thu, 15 Jul 2021 00:16:15 +0000 (17:16 -0700)
committerSam Clegg <sbc@chromium.org>
Mon, 19 Jul 2021 21:31:09 +0000 (14:31 -0700)
commit9b965b37c75d626c01951184088314590e38d299
tree40c30bc5405c48ab9ba98dadc7e07ef2c8b2f768
parent2656af95eb8e67364db7b8dc4a95c3b65c286b2d
[lld][WebAssembly] Cleanup duplicate fields in Symbols.h. NFC

This avoids duplication and simplifies the code in several places
without increasing the size of the symbol union (at least not
above the assert'd limit of 120 bytes).

Differential Revision: https://reviews.llvm.org/D106026
lld/wasm/Symbols.h
lld/wasm/SyntheticSections.cpp
lld/wasm/Writer.cpp