summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-09 00:37:30 +0000
committerDevang Patel <dpatel@apple.com>2011-02-09 00:37:30 +0000
commit14524e0f24449e8435e34c125fd0034026f67b86 (patch)
treea665f5b37cd75be0fee27a76696a6d029d001880 /clang/lib/CodeGen/CGCall.cpp
parent0b2f8d24b3c783061abae38d66f761924a18e686 (diff)
downloadbcm5719-llvm-14524e0f24449e8435e34c125fd0034026f67b86.tar.gz
bcm5719-llvm-14524e0f24449e8435e34c125fd0034026f67b86.zip
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. llvm-svn: 125142
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index c517cf3d09d..60a138c4194 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud