aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
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
commit570729e71654f0564bf2ce6504f8629a96850914 (patch)
tree2412850fabc4f3648cdec3bcb5b56cf123fde355 /lib/CodeGen/CodeGenFunction.h
parent2bbbfb2cc36f7e5ee86b7fd22ec040be36d7c9d0 (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/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index f591840d92..19fbf5ca98 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -1438,7 +1438,8 @@ public:
llvm::GlobalValue::LinkageTypes Linkage);
/// EmitParmDecl - Emit a ParmVarDecl or an ImplicitParamDecl.
- void EmitParmDecl(const VarDecl &D, llvm::Value *Arg);
+ void EmitParmDecl(const VarDecl &D, llvm::Value *Arg,
+ bool IndirectArgument = false);
//===--------------------------------------------------------------------===//
// Statement Emission