diff options
author | Jacob Gravelle <jgravelle@google.com> | 2017-10-10 16:20:18 +0000 |
---|---|---|
committer | Jacob Gravelle <jgravelle@google.com> | 2017-10-10 16:20:18 +0000 |
commit | 37af00e7d0febf397472c40c3b0df5e6ded7688c (patch) | |
tree | 58af5f5c4f3500084f44b4a7eb9295bc338d2bde /llvm/lib/MC/MachObjectWriter.cpp | |
parent | 98a1fd7f96cdabfff1c0b9b5448423f3cf2ac1d5 (diff) | |
download | bcm5719-llvm-37af00e7d0febf397472c40c3b0df5e6ded7688c.tar.gz bcm5719-llvm-37af00e7d0febf397472c40c3b0df5e6ded7688c.zip |
[WebAssembly] Narrow the scope of WebAssemblyFixFunctionBitcasts
Summary:
The pass to fix function bitcasts generates thunks for functions that
are called directly with a mismatching signature. It was also generating
thunks in cases where the function was address-taken, causing aliasing
problems in otherwise valid cases.
This patch tightens the restrictions for when the pass runs.
Reviewers: sunfish, dschuff
Subscribers: jfb, sbc100, llvm-commits, aheejin
Differential Revision: https://reviews.llvm.org/D38640
llvm-svn: 315326
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions