Go to file
Derek Schuff 23b7d65fe5 [WebAssembly] Emit type signatures for declared functions
Under emscripten, C code can take the address of a function implemented
in Javascript (which is exposed via an import in wasm). Because imports
do not have linear memory address in wasm, we need to generate a thunk
to be the target of the indirect call; it call the import directly.

To make this possible, LLVM needs to emit the type signatures for these
functions, because they may not be called directly or referred to other
than where the address is taken.

This uses s new .s directive (.functype) which specifies the signature.

Differential Revision: http://reviews.llvm.org/D20891

llvm-svn: 271599
2016-06-02 21:34:18 +00:00
clang clangFrontend: Make intrinsics_gen optional for standalone build. 2016-06-02 20:24:07 +00:00
clang-tools-extra clang-rename: fix renaming heap allocations 2016-06-02 20:00:22 +00:00
compiler-rt [esan] Add support for log_exe_name 2016-06-02 20:50:30 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Use single precision fmax in sp path 2016-05-17 19:44:01 +00:00
libcxx Add not_fn test for throwing operator! 2016-06-02 08:37:00 +00:00
libcxxabi Partially revert r270816: build with -fvisibility=hidden. 2016-06-02 08:14:28 +00:00
libunwind Attempt to fix libunwind build 2016-06-02 01:50:10 +00:00
lld Start adding tlsdesc support for aarch64. 2016-06-02 19:49:53 +00:00
lldb Fixed a problem where we couldn't call extern "C" functions. 2016-06-02 17:59:47 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [WebAssembly] Emit type signatures for declared functions 2016-06-02 21:34:18 +00:00
openmp Fine tuning of TC* macros - small followup 2016-06-01 09:59:26 +00:00
polly Temporarily promote values to i64 again 2016-06-02 17:09:22 +00:00