[PATCH] D131990: [DRAFT][WebAssembly] Do not support `[[clang::musttail]]` by default

Thomas Lively via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 15:37:43 PDT 2022


tlively added a comment.

For reference, the existing error from the backend is something like this:

  test.cpp:9:5: error: WebAssembly 'tail-call' feature not enabled
  int foo(int x) {
      ^

Note that it points to the beginning of the callee rather than the specific line containing the tail call.

Ideally we would get the current fatal error and diagnostic message with the more specific context from this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131990



More information about the cfe-commits mailing list