[cfe-dev] [diff] can't build with r108824
Vladimir Kirillov
proger at uaoug.org.ua
Tue Jul 20 06:18:07 PDT 2010
Hello, cfe-dev!
I'm trying to build clang on my machine, and there seems to be a misuse
of CreateLexicalBlock API, suggested diff:
Index: tools/clang/lib/CodeGen/CGDebugInfo.cpp
===================================================================
--- tools/clang/lib/CodeGen/CGDebugInfo.cpp (revision 108642)
+++ tools/clang/lib/CodeGen/CGDebugInfo.cpp (working copy)
@@ -1377,6 +1377,7 @@
DebugFactory.CreateLexicalBlock(RegionStack.empty() ?
llvm::DIDescriptor() :
llvm::DIDescriptor(RegionStack.back()),
+ getOrCreateFile(CurLoc),
getLineNumber(CurLoc),
getColumnNumber(CurLoc));
llvm::MDNode *DN = D;
Please CC me, as I am not yet subscribed (awaiting confirmation from
bot).
More information about the cfe-dev
mailing list