[PATCH] D59270: [WebAssembly] Handle undefined data symbols in shared libraries

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 12:36:41 PDT 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D59270

Files:
  lld/test/wasm/shared.ll
  lld/wasm/Driver.cpp
  lld/wasm/Symbols.h
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59270.190311.patch
Type: text/x-patch
Size: 4460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/5d170f8c/attachment.bin>


More information about the llvm-commits mailing list