[PATCH] D41039: Add support for attribute "trivial_abi"

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 15:04:22 PST 2018

ahatanak marked 2 inline comments as done.
ahatanak added inline comments.

Comment at: lib/CodeGen/CGDecl.cpp:1827
+  if (!IsScalar && !CurFuncIsThunk &&
+      (getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee() ||
This is not correct since it isn't checking Arg.isIndirect(). I'll fix it and upload a new patch.


More information about the cfe-commits mailing list