[Lldb-commits] [lldb] r204206 - Expected failure printing std::string::c_str() due to flubbing the typedef lookup.

Jim Ingham jingham at apple.com
Tue Mar 18 17:30:32 PDT 2014


Author: jingham
Date: Tue Mar 18 19:30:31 2014
New Revision: 204206

URL: http://llvm.org/viewvc/llvm-project?rev=204206&view=rev
Log:
Expected failure printing std::string::c_str() due to flubbing the typedef lookup.

Modified:
    lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py

Modified: lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py?rev=204206&r1=204205&r2=204206&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py (original)
+++ lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py Tue Mar 18 19:30:31 2014
@@ -20,6 +20,7 @@ class ExprCommandCallFunctionTestCase(Te
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dsym_test
+    @expectedFailureDarwin(16361880) # <rdar://problem/16361880>, we get the result correctly, but fail to invoke the Summary formatter.
     def test_with_dsym(self):
         """Test calling std::String member function."""
         self.buildDsym()
@@ -29,6 +30,7 @@ class ExprCommandCallFunctionTestCase(Te
     @expectedFailureFreeBSD('llvm.org/pr17807') # Fails on FreeBSD buildbot
     @expectedFailureGcc # llvm.org/pr14437, fails with GCC 4.6.3 and 4.7.2
     @expectedFailureIcc # llvm.org/pr14437, fails with ICC 13.1
+    @expectedFailureDarwin(16361880) # <rdar://problem/16361880>, we get the result correctly, but fail to invoke the Summary formatter.
     def test_with_dwarf(self):
         """Test calling std::String member function."""
         self.buildDwarf()
@@ -46,12 +48,8 @@ class ExprCommandCallFunctionTestCase(Te
         self.expect("print str",
             substrs = ['Hello world'])
 
-        # Should be fixed with r142717.
-        #
-        # rdar://problem/9471744 test failure: ./dotest.py -C clang -v -w -t -p CallStdString
-        # runCmd: print str.c_str()
-        # runCmd failed!
-        # error: Couldn't convert the expression to DWARF
+        # Calling this function now succeeds, but we follow the typedef return type through to
+        # const char *, and thus don't invoke the Summary formatter.
         self.expect("print str.c_str()",
             substrs = ['Hello world'])
 





More information about the lldb-commits mailing list