diff options
author | Dan Gohman <dan433584@gmail.com> | 2017-11-28 17:15:03 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2017-11-28 17:15:03 +0000 |
commit | 7005517f42852ddb80ca986a2933f729d4fd0383 (patch) | |
tree | 0f3c97710a4e2645d5b63eb7b744ee6c53c52484 /test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll | |
parent | 46f8d8c3d5261dc4317ef9bbe97046f9de3cef83 (diff) |
[WebAssembly] Support bitcasted function addresses with varargs.
Generalize FixFunctionBitcasts to handle varargs functions. This in
particular fixes the case where clang bitcasts away a varargs when
calling a K&R-style function.
This avoids interacting with tricky ABI details because it operates
at the LLVM IR level before varargs ABI details are exposed.
This fixes PR35385.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll')
0 files changed, 0 insertions, 0 deletions