HomePhabricator

[WebAssembly] Define the signature for __stack_chk_fail

Authored by sunfish on Apr 29 2019, 2:09 PM.

Description

[WebAssembly] Define the signature for __stack_chk_fail

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.

Also, make the error message for a missing libcall include the name of
the function.

Differential Revision: https://reviews.llvm.org/D59521

Reviewed By: sbc100

llvm-svn: 359505

Details