summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReader.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-10-22 00:49:09 +0000
committerMike Stump <mrs@apple.com>2009-10-22 00:49:09 +0000
commite1b19ba05b4d30e9b6be08461d82ec95caeb54a7 (patch)
tree513c5bc1264ab176ba691f630bc11db9ac56ad26 /clang/lib/Frontend/PCHReader.cpp
parentcc81526176847953f5476fb40c750646a5995777 (diff)
downloadbcm5719-llvm-e1b19ba05b4d30e9b6be08461d82ec95caeb54a7.tar.gz
bcm5719-llvm-e1b19ba05b4d30e9b6be08461d82ec95caeb54a7.zip
Extend out the block descriptor structure for debug information with
the copy/dispose helpers as appropriate. llvm-svn: 84817
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
-rw-r--r--clang/lib/Frontend/PCHReader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReader.cpp b/clang/lib/Frontend/PCHReader.cpp
index 82e5033dd8b..c02959f2cc7 100644
--- a/clang/lib/Frontend/PCHReader.cpp
+++ b/clang/lib/Frontend/PCHReader.cpp
@@ -1591,6 +1591,9 @@ void PCHReader::InitializeContext(ASTContext &Ctx) {
Context->ObjCClassRedefinitionType = GetType(ObjCClassRedef);
if (unsigned String = SpecialTypes[pch::SPECIAL_TYPE_BLOCK_DESCRIPTOR])
Context->setBlockDescriptorType(GetType(String));
+ if (unsigned String
+ = SpecialTypes[pch::SPECIAL_TYPE_BLOCK_EXTENDED_DESCRIPTOR])
+ Context->setBlockDescriptorExtendedType(GetType(String));
}
/// \brief Retrieve the name of the original source file name
OpenPOWER on IntegriCloud