OSDN Git Service

[WebAssembly][lld] Don't mark a file live from an undefine symbol
authorDerek Schuff <dschuff@chromium.org>
Thu, 17 Dec 2020 18:25:11 +0000 (10:25 -0800)
committerDerek Schuff <dschuff@chromium.org>
Thu, 17 Dec 2020 19:05:36 +0000 (11:05 -0800)
commitcb77e877f8132b885fcac8b7532c58072537b9ed
tree8c2099e344e5f655087e44cf6714c2deafa5c6c1
parente1fd202489e184e32a23fe01af8a61e48af186a8
[WebAssembly][lld] Don't mark a file live from an undefine symbol

Live symbols should only cause the files in which they are defined
to become live.

For now this is only tested in emscripten: we're continuing
to work on reducing the test case further for an lld-style
unit test.

Differential Revision: https://reviews.llvm.org/D93472
lld/wasm/Symbols.cpp