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 | 2803bfaf001241a98608c263a824a5f5ec542511 (patch) | |
| tree | 3d7c1d9c5f61f94c44f1ebb0ef158dd5de9dd8dc /llvm/lib/Target/PowerPC/PPCFastISel.cpp | |
| parent | e123aba94ead1673e8672e0fdd7ef9a75d1b205c (diff) | |
| download | bcm5719-llvm-2803bfaf001241a98608c263a824a5f5ec542511.tar.gz bcm5719-llvm-2803bfaf001241a98608c263a824a5f5ec542511.zip | |
[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.
llvm-svn: 319186
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFastISel.cpp')
0 files changed, 0 insertions, 0 deletions

