[WebAssembly] ensure .functype applies to right label in assembler
We used to require .functype immediately follows the label it sets the type of, but not all Clang output follows this rule. Now we simply allow it on any symbol, but only assume its a function start for a defined symbol, which is simpler and more general. Fixes (part of) https://bugs.llvm.org/show_bug.cgi?id=49036 Differential Revision: https://reviews.llvm.org/D96165
Loading
Please sign in to comment