Disabling blocks support because of rdar://problem/11024417 - This is hopefully just a temporary countermeasure
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153758 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index b152c3c..e1d68e6 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -2807,7 +2807,8 @@
return NULL;
}
- var_opaque_type = MaybePromoteToBlockPointerType (ast, var_opaque_type);
+ // commented out because of <rdar://problem/11024417>
+ //var_opaque_type = MaybePromoteToBlockPointerType (ast, var_opaque_type);
DWARFExpression &var_location_expr = var->LocationExpression();
diff --git a/test/lang/c/blocks/TestBlocks.py b/test/lang/c/blocks/TestBlocks.py
index 32a4045..ef2a0ec 100644
--- a/test/lang/c/blocks/TestBlocks.py
+++ b/test/lang/c/blocks/TestBlocks.py
@@ -10,10 +10,12 @@
mydir = os.path.join("lang", "c", "blocks")
lines = []
+ @unittest2.expectedFailure
def test_expr_with_dsym(self):
self.buildDsym()
self.expr()
+ @unittest2.expectedFailure
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()