HomePhabricator

[WebAssembly] Handle undefined data symbols in shared libraries

Authored by sbc100 on Mar 12 2019, 2:53 PM.

Description

[WebAssembly] Handle undefined data symbols in shared libraries

When linking shared libraries, we import a mutable wasm global
to represent the address of each undefined data symbol.

This is a step towards supporting dynamic linking and shared
libraries.

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

llvm-svn: 355988

Details