[PATCH] D42495: [WebAssembly] Add symbol table to LLVM, 2/2

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 10:18:16 PST 2018


ncw updated this revision to Diff 131611.
ncw edited the summary of this revision.
ncw added a comment.

Updated:

- Added some more bits and pieces to truly make Wasm globals first-class objects
- Removed some unused code for emitting globals from a `.global_variables` section, seems to be completely unused

This changeset is getting a little bit big, but it is actually rather hard to split up. There's not much that //could// be done independently in its own commit - not without making the intermediate bits non-functioning. Hmm. Removing the `.global_variables` section could be split out.

In any case, there six other reviews that need to go in before this one, so we'll maybe get onto the review of all this code next week.


Repository:
  rL LLVM

https://reviews.llvm.org/D42495

Files:
  include/llvm/BinaryFormat/Wasm.h
  include/llvm/MC/MCSectionWasm.h
  include/llvm/MC/MCSymbolWasm.h
  include/llvm/Object/Wasm.h
  include/llvm/ObjectYAML/WasmYAML.h
  lib/MC/MCWasmStreamer.cpp
  lib/MC/WasmObjectWriter.cpp
  lib/Object/WasmObjectFile.cpp
  lib/ObjectYAML/WasmYAML.cpp
  lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
  lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h
  lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  test/MC/WebAssembly/array-fill.ll
  test/MC/WebAssembly/bss.ll
  test/MC/WebAssembly/comdat.ll
  test/MC/WebAssembly/explicit-sections.ll
  test/MC/WebAssembly/func-address.ll
  test/MC/WebAssembly/global-ctor-dtor.ll
  test/MC/WebAssembly/reloc-code.ll
  test/MC/WebAssembly/reloc-data.ll
  test/MC/WebAssembly/sections.ll
  test/MC/WebAssembly/unnamed-data.ll
  test/MC/WebAssembly/visibility.ll
  test/MC/WebAssembly/weak-alias.ll
  test/MC/WebAssembly/weak.ll
  test/Object/Inputs/trivial-object-test.wasm
  test/Object/nm-trivial-object.test
  test/Object/obj2yaml.test
  test/Object/objdump-relocations.test
  test/ObjectYAML/wasm/linking_section.yaml
  test/ObjectYAML/wasm/weak_symbols.yaml
  test/tools/llvm-nm/wasm/exports.yaml
  test/tools/llvm-nm/wasm/imports.yaml
  test/tools/llvm-nm/wasm/weak-symbols.yaml
  test/tools/llvm-objdump/Inputs/trivial.obj.wasm
  test/tools/llvm-objdump/WebAssembly/symbol-table.test
  test/tools/llvm-objdump/wasm.txt
  test/tools/llvm-readobj/Inputs/trivial.obj.wasm
  test/tools/llvm-readobj/relocations.test
  test/tools/llvm-readobj/sections.test
  test/tools/llvm-readobj/symbols.test
  tools/llvm-readobj/WasmDumper.cpp
  tools/obj2yaml/wasm2yaml.cpp
  tools/yaml2obj/yaml2wasm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42495.131611.patch
Type: text/x-patch
Size: 114139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180126/6688a05f/attachment.bin>


More information about the llvm-commits mailing list