diff options
author | Devang Patel <dpatel@apple.com> | 2011-02-09 00:37:30 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-02-09 00:37:30 +0000 |
commit | 570729e71654f0564bf2ce6504f8629a96850914 (patch) | |
tree | 2412850fabc4f3648cdec3bcb5b56cf123fde355 /lib/CodeGen/CGCall.cpp | |
parent | 2bbbfb2cc36f7e5ee86b7fd22ec040be36d7c9d0 (diff) |
If an aggregate argument is passed indirectly because it has non trivial
destructor or copy constructor than let debug info know about it.
Radar 8945514.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index c517cf3d09..60a138c419 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -898,7 +898,7 @@ void CodeGenFunction::EmitFunctionProlog(const CGFunctionInfo &FI, V = EmitScalarConversion(V, Ty, Arg->getType()); } } - EmitParmDecl(*Arg, V); + EmitParmDecl(*Arg, V, true /*ABIArgInfo::Indirect*/); break; } |