[PATCH] D53843: Make sure to forward arguments from vararg to musttail vararg

Yin Ma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 15:45:11 PDT 2018


yinma created this revision.
Herald added subscribers: llvm-commits, javed.absar.

  Thunk functions in Windows are varag functions that call a musttail function
  to pass the arguments after the fixup is done.  We need to make sure that we
  forward the arguments from the caller vararg to the callee vararg function.
  This is the same mechanism that is used for Windows on X86.


Repository:
  rL LLVM

https://reviews.llvm.org/D53843

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64MachineFunctionInfo.h
  test/CodeGen/AArch64/vararg-tallcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53843.171598.patch
Type: text/x-patch
Size: 4315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/dbfb6503/attachment.bin>


More information about the llvm-commits mailing list