diff options
author | Derek Schuff <dschuff@google.com> | 2016-08-01 22:25:02 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2016-08-01 22:25:02 +0000 |
commit | c64d7655b231c88d1c9fa3f482725cd70f7b2e92 (patch) | |
tree | 9552eb9adca7e5366d90369b30dcbc26dc9648ef /llvm/lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | 7643d98d8685fc9159b0221a6910b8f4ef872df5 (diff) | |
download | llvm-c64d7655b231c88d1c9fa3f482725cd70f7b2e92.zip llvm-c64d7655b231c88d1c9fa3f482725cd70f7b2e92.tar.gz llvm-c64d7655b231c88d1c9fa3f482725cd70f7b2e92.tar.bz2 |
[WebAssembly] Support CFI for WebAssembly target
Summary: This patch implements CFI for WebAssembly. It modifies the
LowerTypeTest pass to pre-assign table indexes to functions that are
called indirectly, and lowers type checks to test against the
appropriate table indexes. It also modifies the WebAssembly backend to
support a special ".indidx" assembly directive that propagates the table
index assignments out to the linker.
Patch by Dominic Chen
Differential Revision: https://reviews.llvm.org/D21768
llvm-svn: 277398
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
0 files changed, 0 insertions, 0 deletions