Go to file
Sam Clegg 60ec30340f [WebAssembly] Store function index rather than table index in TABLE_INDEX relocations
Relocations of type R_WEBASSEMBLY_TABLE_INDEX represent places
where the table index for a given function is needed.  While the
value stored in this location is a table index, the index in
the relocation entry itself is a function index (the index of
the function which is to be called indirectly).

This is how is was spec'd originally but the LLVM implementation
didn't do this.  This makes things a little simpler in the linker
since the table in the input file can essentially be ignored that
the output table can be created purely based on these relocations.

Patch by Nicholas Wilson!

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

llvm-svn: 323165
2018-01-23 01:23:17 +00:00
clang Add hasTrailingReturn AST matcher 2018-01-22 22:45:23 +00:00
clang-tools-extra [clangd] Drop ~destructor completions - rarely helpful and work inconsistently 2018-01-22 21:05:00 +00:00
compiler-rt Small fixes for detect_invalid_pointer_pairs. 2018-01-22 23:28:52 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc tanpi: Port from amd_builtins 2018-01-19 18:57:22 +00:00
libcxx Update cxx2a status 2018-01-22 23:17:20 +00:00
libcxxabi [cmake] [libcxxabi] Fix find_path() problems when cross compiling 2018-01-22 19:41:05 +00:00
libunwind [cmake] [libunwind] Fix find_path() problems when cross compiling 2018-01-22 19:15:06 +00:00
lld [COFF] don't replace import library if contents are unchanged 2018-01-23 00:36:42 +00:00
lldb [lldb] Fix some C++ virtual method call bugs in LLDB expression evaluation by 2018-01-22 23:53:56 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [WebAssembly] Store function index rather than table index in TABLE_INDEX relocations 2018-01-23 01:23:17 +00:00
openmp Sprinkle a few <cstdlib> includes, for libomptarget sources using 2018-01-18 18:24:22 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Assume the shared library path variable is LD_LIBRARY_PATH on systems 2018-01-20 14:35:05 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.