The WebAssembly backend needs to know the signatures of all runtime libcall functions. This adds the signature for __stack_chk_fail which was previously missing.
I think I may have seen a crash recently related to this.
Can we add a test?
Also, IIRC the crash the is reported doesn't include the symbol name, which would be useful in the future perhaps?
It's a little more involved in that because all the types are char* and the argument is char*, but it's doable. Done, in r359509.