HomePhabricator

[WebAssembly] Add no-prototype attribute to prototype-less C functions

Authored by sbc100 on Jun 25 2018, 11:47 AM.

Description

[WebAssembly] Add no-prototype attribute to prototype-less C functions

The WebAssembly backend in particular benefits from being
able to distinguish between varargs functions (...) and prototype-less
C functions.

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

llvm-svn: 335510