diff options
Diffstat (limited to 'clang/lib/CodeGen')
| -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 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()); | 

