diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-21 15:59:59 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-21 15:59:59 +0000 |
| commit | 3e0c527dcc406bd68dae3902bb7c81d096a58d0c (patch) | |
| tree | b1588e0c40f303c3d023a2212ed4f140d4a83f63 | |
| parent | e32675253fcd88b10f9a31938f6e488384044af6 (diff) | |
| download | llvm-3e0c527dcc406bd68dae3902bb7c81d096a58d0c.zip llvm-3e0c527dcc406bd68dae3902bb7c81d096a58d0c.tar.gz llvm-3e0c527dcc406bd68dae3902bb7c81d096a58d0c.tar.bz2 | |
Adjust for debug info API change.
llvm-svn: 114438
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index bf5f974..a0ed53b 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1785,7 +1785,7 @@ void CGDebugInfo::EmitDeclare(const BlockDeclRefExpr *BDRE, unsigned Tag, DebugFactory.CreateComplexVariable(Tag, llvm::DIDescriptor(RegionStack.back()), VD->getName(), Unit, Line, Ty, - addr); + addr.data(), addr.size()); // Insert an llvm.dbg.declare into the current block. llvm::Instruction *Call = DebugFactory.InsertDeclare(Storage, D, Builder.GetInsertBlock()); |
