[PATCH] D41954: [WebAssembly] Symbol changes #5: add "symbol index" concept (LLVM)

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 11:05:08 PST 2018


ncw updated this revision to Diff 131108.
ncw added a comment.

Updated:

- Now in line with the new symtab proposal!
- NB Doesn't actually include the symtab itself, but changes relocations to use the new symbol indexes
- The next review after this will do the actual refactor whereby global symbols are split into global/data symbols, and are written out in the linking metadata rather than in the imports/exports table


Repository:
  rL LLVM

https://reviews.llvm.org/D41954

Files:
  include/llvm/BinaryFormat/Wasm.h
  include/llvm/Object/Wasm.h
  lib/MC/WasmObjectWriter.cpp
  lib/Object/WasmObjectFile.cpp
  test/MC/WebAssembly/func-address.ll
  test/MC/WebAssembly/global-ctor-dtor.ll
  test/MC/WebAssembly/reloc-code.ll
  test/MC/WebAssembly/weak-alias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41954.131108.patch
Type: text/x-patch
Size: 36429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180123/e92e3a53/attachment.bin>


More information about the llvm-commits mailing list