[PATCH] D42867: [WebAssembly] Add _edata, _end and other link-sythentic symbols

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 13:55:55 PST 2018


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

See https://linux.die.net/man/3/edata for a description of these
semi-stardard symbols.

This change should allow is to remove the DataSize from the
linking metadata section.

Group all sythetic symbols in the in single struct to match
the ELF linker.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42867

Files:
  test/wasm/alias.ll
  test/wasm/call-indirect.ll
  test/wasm/comdats.ll
  test/wasm/export.ll
  test/wasm/load-undefined.test
  test/wasm/local-symbols.ll
  test/wasm/locals-duplicate.test
  test/wasm/visibility-hidden.ll
  test/wasm/weak-alias-overide.ll
  test/wasm/weak-alias.ll
  test/wasm/weak-symbols.ll
  test/wasm/weak-undefined.ll
  wasm/Driver.cpp
  wasm/Symbols.cpp
  wasm/Symbols.h
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42867.132673.patch
Type: text/x-patch
Size: 17394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180202/284a8158/attachment.bin>


More information about the llvm-commits mailing list