diff options
author | Devang Patel <dpatel@apple.com> | 2011-03-01 22:59:40 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-03-01 22:59:40 +0000 |
commit | 3bc2dedb403f23e38f4ab765fe2b78bd101f041d (patch) | |
tree | 8aa56b3ad3bf83216aa5a4dbed812d2ab44555fc /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 6c622ef1bcda9f544cbc64de6cce12cbf7dd08b2 (diff) | |
download | bcm5719-llvm-3bc2dedb403f23e38f4ab765fe2b78bd101f041d.tar.gz bcm5719-llvm-3bc2dedb403f23e38f4ab765fe2b78bd101f041d.zip |
Encode argument numbering in debug info so that code generator can emit them in order.
This fixes few blocks.exp regressions.
llvm-svn: 126795
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index a39078860fa..2e0f7194ca8 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -181,7 +181,7 @@ public: /// EmitDeclareOfArgVariable - Emit call to llvm.dbg.declare for an argument /// variable declaration. void EmitDeclareOfArgVariable(const VarDecl *Decl, llvm::Value *AI, - CGBuilderTy &Builder); + unsigned ArgNo, CGBuilderTy &Builder); /// EmitDeclareOfBlockLiteralArgVariable - Emit call to /// llvm.dbg.declare for the block-literal argument to a block @@ -204,7 +204,7 @@ public: private: /// EmitDeclare - Emit call to llvm.dbg.declare for a variable declaration. void EmitDeclare(const VarDecl *decl, unsigned Tag, llvm::Value *AI, - CGBuilderTy &Builder); + unsigned ArgNo, CGBuilderTy &Builder); /// EmitDeclare - Emit call to llvm.dbg.declare for a variable /// declaration from an enclosing block. |