[PATCH] D62210: [WebAssembly] Implement __builtin_return_address for emscripten

Guanzhong Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 12:57:37 PDT 2019


quantum updated this revision to Diff 200575.
quantum added a comment.

- Renamed test function in LLVM IR to `test_returnaddress`.
- Created test for wasm32-unknown-unknown and expect it to fail.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62210

Files:
  llvm/include/llvm/IR/RuntimeLibcalls.def
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
  llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
  llvm/test/CodeGen/WebAssembly/return-address-emscripten.ll
  llvm/test/CodeGen/WebAssembly/return-address-unknown.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62210.200575.patch
Type: text/x-patch
Size: 5735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/17d0b047/attachment-0001.bin>


More information about the llvm-commits mailing list