summaryrefslogtreecommitdiffstats
path: root/compiler-rt/cmake/Modules/SanitizerUtils.cmake
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2017-01-07 00:34:54 +0000
committerDan Gohman <dan433584@gmail.com>2017-01-07 00:34:54 +0000
commit1b637458f6de8fdae53bd54ed6b9bede000c332c (patch)
treeb7768878809f4c10b8dae72d311192b40c8bb348 /compiler-rt/cmake/Modules/SanitizerUtils.cmake
parent1d3577537992b862fb9c70f9adc1ad1a4cb09766 (diff)
downloadbcm5719-llvm-1b637458f6de8fdae53bd54ed6b9bede000c332c.tar.gz
bcm5719-llvm-1b637458f6de8fdae53bd54ed6b9bede000c332c.zip
[WebAssembly] Add a pass to create wrappers for function bitcasts.
WebAssembly requires caller and callee signatures to match exactly. In LLVM, there are a variety of circumstances where signatures may be mismatched in practice, and one can bitcast a function address to another type to call it as that type. This patch adds a pass which replaces bitcasted function addresses with wrappers to replace the bitcasts. This doesn't catch everything, but it does match many common cases. llvm-svn: 291315
Diffstat (limited to 'compiler-rt/cmake/Modules/SanitizerUtils.cmake')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud