[PATCH] D67028: Use musttail for variadic method thunks when possible
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 30 17:33:42 PDT 2019
efriedma added a comment.
Do we have test coverage for a variadic, covariant thunk for a function without a definition? I don't think there's any way for us to actually emit that, but we should make sure the error message is right.
I'm a little concerned that using musttail thunks with the Itanium ABI will flush out bugs that have been hiding because we have less test coverage on Windows. But it's probably the right thing to do.
================
Comment at: clang/lib/CodeGen/CGVTables.cpp:206
+ AdjustedThisPtr = Builder.CreateBitCast(AdjustedThisPtr,
+ ThisStore->getOperand(0)->getType());
ThisStore->setOperand(0, AdjustedThisPtr);
----------------
This is fine, I guess, but how is it related?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67028/new/
https://reviews.llvm.org/D67028
More information about the cfe-commits
mailing list