summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-09-21 15:59:59 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-09-21 15:59:59 +0000
commit3e0c527dcc406bd68dae3902bb7c81d096a58d0c (patch)
treeb1588e0c40f303c3d023a2212ed4f140d4a83f63
parente32675253fcd88b10f9a31938f6e488384044af6 (diff)
downloadbcm5719-llvm-3e0c527dcc406bd68dae3902bb7c81d096a58d0c.tar.gz
bcm5719-llvm-3e0c527dcc406bd68dae3902bb7c81d096a58d0c.zip
Adjust for debug info API change.
llvm-svn: 114438
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index bf5f9746da8..a0ed53b70a8 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());
OpenPOWER on IntegriCloud