summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-10-02 02:30:50 +0000
committerMike Stump <mrs@apple.com>2009-10-02 02:30:50 +0000
commit581b9ad1243e7e8f11d1c4f0a1dbe0324d2be8a6 (patch)
tree4e507907e8e79bde5245e5df7a25948e0381aeae /clang/lib/CodeGen
parent440af3d903b80791ef9d7c29d6070cc1c34347b6 (diff)
downloadbcm5719-llvm-581b9ad1243e7e8f11d1c4f0a1dbe0324d2be8a6.tar.gz
bcm5719-llvm-581b9ad1243e7e8f11d1c4f0a1dbe0324d2be8a6.zip
More magic pixie dust.
llvm-svn: 83232
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index c937e8ec67e..7d0c1ad8a55 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -280,8 +280,10 @@ llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
Elements = DebugFactory.GetOrCreateArray(EltTys.data(), EltTys.size());
EltTys.clear();
+ unsigned Flags = llvm::DIType::FlagAppleBlock;
+
EltTy = DebugFactory.CreateCompositeType(Tag, Unit, "__block_descriptor",
- DefUnit, 0, FieldOffset, 0, 0, 0,
+ DefUnit, 0, FieldOffset, 0, 0, Flags,
llvm::DIType(), Elements);
// Bit size, align and offset of the type.
@@ -350,8 +352,6 @@ llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
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, Flags,
llvm::DIType(), Elements);
OpenPOWER on IntegriCloud