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

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 13:06:49 PDT 2019


tlively added a comment.

In D62210#1510838 <https://reviews.llvm.org/D62210#1510838>, @sunfish wrote:

> Would it make sense to take this opportunity to rename the library function, from `emscripten_return_address` to something more general, like `__wasm_return_address` or `__wasm_callsite_identifier` or something, so that non-Emscripten environments could implement it too if they wished?


I would image that WASI would want its own WASI-namespaced version of this. Are other system functions going to be general over all wasm OSes?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62210





More information about the llvm-commits mailing list