aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-03-02 19:11:22 +0000
committerDevang Patel <dpatel@apple.com>2011-03-02 19:11:22 +0000
commit31e5fb52d14248f93e02398f973757b3be7dce46 (patch)
tree565f522554d950551346489bbfc9550842c1f752 /clang/lib/CodeGen/CodeGenFunction.h
parentcf256c1297366fd01a7bacdfdaf1602523827d5e (diff)
downloadllvm-31e5fb52d14248f93e02398f973757b3be7dce46.zip
llvm-31e5fb52d14248f93e02398f973757b3be7dce46.tar.gz
llvm-31e5fb52d14248f93e02398f973757b3be7dce46.tar.bz2
Encode argument numbering in debug info so that code generator can emit them in order.
This fixes few blocks.exp regressions. Reapply r126795 with a fix (one character change) for gdb testsuite regressions. llvm-svn: 126858
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 0edd0f0..ef006d9 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -1609,7 +1609,7 @@ 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, unsigned ArgNo);
/// protectFromPeepholes - Protect a value that we're intending to
/// store to the side, but which will probably be used later, from