[Lldb-commits] [lldb] r153758 - in /lldb/trunk: source/Expression/ClangExpressionDeclMap.cpp test/lang/c/blocks/TestBlocks.py

Enrico Granata egranata at apple.com
Fri Mar 30 09:58:37 PDT 2012


Author: enrico
Date: Fri Mar 30 11:58:37 2012
New Revision: 153758

URL: http://llvm.org/viewvc/llvm-project?rev=153758&view=rev
Log:
Disabling blocks support because of rdar://problem/11024417 - This is hopefully just a temporary countermeasure

Modified:
    lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
    lldb/trunk/test/lang/c/blocks/TestBlocks.py

Modified: lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp?rev=153758&r1=153757&r2=153758&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Fri Mar 30 11:58:37 2012
@@ -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();
     

Modified: lldb/trunk/test/lang/c/blocks/TestBlocks.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/blocks/TestBlocks.py?rev=153758&r1=153757&r2=153758&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/blocks/TestBlocks.py (original)
+++ lldb/trunk/test/lang/c/blocks/TestBlocks.py Fri Mar 30 11:58:37 2012
@@ -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()





More information about the lldb-commits mailing list