]> granicus.if.org Git - clang/commitdiff
Update call DIBuilder::createLexicalBlock.
authorDiego Novillo <dnovillo@google.com>
Mon, 3 Mar 2014 18:53:32 +0000 (18:53 +0000)
committerDiego Novillo <dnovillo@google.com>
Mon, 3 Mar 2014 18:53:32 +0000 (18:53 +0000)
Create lexical blocks with discriminator value 0 by default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202737 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index d7321791d861794df1a6c96c480d090869556f37..633078fb3bbcd75ca45828169fd82acdcf400f44 100644 (file)
@@ -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);
 }