[WebAssembly] Don't mark lazy symbols as `IsUsedInRegularObj`
authorSam Clegg <sbc@chromium.org>
Fri, 8 Mar 2019 21:10:48 +0000 (21:10 +0000)
committerSam Clegg <sbc@chromium.org>
Fri, 8 Mar 2019 21:10:48 +0000 (21:10 +0000)
commitd15a4154a8b7391941e0592427588b0a1b229e65
tree89df08dc7225e6ae2da438f18d07c4a4f0ee2d42
parentc12f159788dcc791e4a415352031fb761f31c3ec
[WebAssembly] Don't mark lazy symbols as `IsUsedInRegularObj`

This matches the ELF does.  Update the comment in ELF/Symbols.h and
duplicate it in wasm/Symbols.h

This a followup on rL355580 and rL355577.

Differential Revision: https://reviews.llvm.org/D59075

llvm-svn: 355737
lld/ELF/Symbols.h
lld/wasm/SymbolTable.cpp
lld/wasm/Symbols.h
lld/wasm/Writer.cpp