[PATCH] D133057: [WebAssembly][MC] Improve error handling on empty function declarations

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 14:59:58 PDT 2022


dschuff added a comment.

IIUC in other asm formats, you can just e.g. switch to the data section (in the middle of generating code for a function), emit a data constant, and then switch back and finish the function. In theory we could do that for wasm too, as long as we do actually switch back and finish the function. but I get that would make this error checking a lot more complicated, and I don't know of any cases where we would actually want to do that. do you?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133057



More information about the llvm-commits mailing list