r202737 - Update call DIBuilder::createLexicalBlock.
Diego Novillo
dnovillo at google.com
Mon Mar 3 10:53:32 PST 2014
Author: dnovillo
Date: Mon Mar 3 12:53:32 2014
New Revision: 202737
URL: http://llvm.org/viewvc/llvm-project?rev=202737&view=rev
Log:
Update call DIBuilder::createLexicalBlock.
Create lexical blocks with discriminator value 0 by default.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=202737&r1=202736&r2=202737&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Mar 3 12:53:32 2014
@@ -2596,7 +2596,8 @@ void CGDebugInfo::CreateLexicalBlock(Sou
llvm::DIDescriptor(LexicalBlockStack.back()),
getOrCreateFile(CurLoc),
getLineNumber(CurLoc),
- getColumnNumber(CurLoc));
+ getColumnNumber(CurLoc),
+ 0);
llvm::MDNode *DN = D;
LexicalBlockStack.push_back(DN);
}
More information about the cfe-commits
mailing list