Make all virtual member pointers use variadic musttail calls
This avoids encoding information about the function prototype into the thunk at the cost of some function prototype bitcast gymnastics. Fixes PR20653. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216782 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGCall.cpp 14 additions, 0 deletionslib/CodeGen/CGCall.cpp
- lib/CodeGen/CodeGenTypes.h 1 addition, 0 deletionslib/CodeGen/CodeGenTypes.h
- lib/CodeGen/MicrosoftCXXABI.cpp 25 additions, 12 deletionslib/CodeGen/MicrosoftCXXABI.cpp
- test/CodeGenCXX/microsoft-abi-member-pointers.cpp 5 additions, 5 deletionstest/CodeGenCXX/microsoft-abi-member-pointers.cpp
- test/CodeGenCXX/microsoft-abi-virtual-member-pointers.cpp 67 additions, 67 deletionstest/CodeGenCXX/microsoft-abi-virtual-member-pointers.cpp
- test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp 101 additions, 0 deletionstest/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp
- test/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp 11 additions, 0 deletionstest/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp
Loading
Please register or sign in to comment