summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-03-03 18:53:32 +0000
committerDiego Novillo <dnovillo@google.com>2014-03-03 18:53:32 +0000
commite6d398189e81533427e5ec0d6602310f67747603 (patch)
tree1aa4f7db2359b2762c559227099cc2151c5b6bb4 /clang/lib
parent282450d94c9e059fc08d80d8e93eb994ce3c77fc (diff)
downloadbcm5719-llvm-e6d398189e81533427e5ec0d6602310f67747603.tar.gz
bcm5719-llvm-e6d398189e81533427e5ec0d6602310f67747603.zip
Update call DIBuilder::createLexicalBlock.
Create lexical blocks with discriminator value 0 by default. llvm-svn: 202737
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index d7321791d86..633078fb3bb 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -2596,7 +2596,8 @@ void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) {
llvm::DIDescriptor(LexicalBlockStack.back()),
getOrCreateFile(CurLoc),
getLineNumber(CurLoc),
- getColumnNumber(CurLoc));
+ getColumnNumber(CurLoc),
+ 0);
llvm::MDNode *DN = D;
LexicalBlockStack.push_back(DN);
}
OpenPOWER on IntegriCloud