[cfe-commits] r108785 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Stuart Hastings
stuart at apple.com
Mon Jul 19 16:56:31 PDT 2010
Author: stuart
Date: Mon Jul 19 18:56:31 2010
New Revision: 108785
URL: http://llvm.org/viewvc/llvm-project?rev=108785&view=rev
Log:
Correct line info for declarations/definitions. Radar 8063111.
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=108785&r1=108784&r2=108785&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Jul 19 18:56:31 2010
@@ -1377,6 +1377,7 @@
DebugFactory.CreateLexicalBlock(RegionStack.empty() ?
llvm::DIDescriptor() :
llvm::DIDescriptor(RegionStack.back()),
+ getOrCreateFile(CurLoc),
getLineNumber(CurLoc),
getColumnNumber(CurLoc));
llvm::MDNode *DN = D;
More information about the cfe-commits
mailing list