[cfe-commits] r83231 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Mike Stump
mrs at apple.com
Thu Oct 1 19:23:38 PDT 2009
Author: mrs
Date: Thu Oct 1 21:23:37 2009
New Revision: 83231
URL: http://llvm.org/viewvc/llvm-project?rev=83231&view=rev
Log:
Fix up debug information for block pointers a bit more.
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=83231&r1=83230&r2=83231&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Thu Oct 1 21:23:37 2009
@@ -350,8 +350,10 @@
FieldOffset += FieldSize;
Elements = DebugFactory.GetOrCreateArray(EltTys.data(), EltTys.size());
+ unsigned Flags = llvm::DIType::FlagAppleBlock;
+
EltTy = DebugFactory.CreateCompositeType(Tag, Unit, "__block_literal_generic",
- DefUnit, 0, FieldOffset, 0, 0, 0,
+ DefUnit, 0, FieldOffset, 0, 0, Flags,
llvm::DIType(), Elements);
BlockLiteralGenericSet = true;
More information about the cfe-commits
mailing list