[PATCH] D88697: [WebAssembly] Rename Emscripten EH functions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 13:28:56 PDT 2020


aheejin created this revision.
aheejin added reviewers: dschuff, tlively.
Herald added subscribers: llvm-commits, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100.
Herald added a project: LLVM.
aheejin requested review of this revision.

Renaming for some Emscripten EH functions has so far been done in
wasm-emscripten-fialize tool in Binaryen. But recently we decided to
make a compilation/linking pass that does not rely on
wasm-emscripten-finalize for modifications, so here we move that
functionality to LLVM. This is done at the very end of the compilation
pipeline, where we have all final wasm function signatures available.

Addresses:
https://github.com/WebAssembly/binaryen/issues/3043
https://github.com/WebAssembly/binaryen/issues/3081


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88697

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
  llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  llvm/test/CodeGen/WebAssembly/function-bitcasts.ll
  llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
  llvm/test/CodeGen/WebAssembly/lower-em-sjlj-sret.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88697.295659.patch
Type: text/x-patch
Size: 17299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/4cb02fef/attachment.bin>


More information about the llvm-commits mailing list