[PATCH] D57632: [WebAssembly] Fix imported function symbol names that differ from their import names in the .o format

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 11:31:02 PST 2019


sunfish updated this revision to Diff 185835.
sunfish added a comment.

- Add MC/WebAssembly and lld tests
- Set the WASM_SYMBOL_NAME_EXPLICIT flag when a symbols name differs from its import name.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57632/new/

https://reviews.llvm.org/D57632

Files:
  include/llvm/BinaryFormat/Wasm.h
  lib/MC/WasmObjectWriter.cpp
  lib/Object/WasmObjectFile.cpp
  test/MC/WebAssembly/import-module.ll
  tools/lld/test/wasm/import-names.ll
  tools/lld/wasm/InputFiles.cpp
  tools/lld/wasm/LTO.cpp
  tools/lld/wasm/SymbolTable.cpp
  tools/lld/wasm/SymbolTable.h
  tools/lld/wasm/Symbols.h
  tools/lld/wasm/Writer.cpp
  tools/yaml2obj/yaml2wasm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57632.185835.patch
Type: text/x-patch
Size: 19877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190207/4fa38d36/attachment.bin>


More information about the llvm-commits mailing list