[Lldb-commits] [lldb] r189668 - Expression evaluation works on FreeBSD after switch to MCJIT

Ed Maste emaste at freebsd.org
Fri Aug 30 07:05:23 PDT 2013


Author: emaste
Date: Fri Aug 30 09:05:22 2013
New Revision: 189668

URL: http://llvm.org/viewvc/llvm-project?rev=189668&view=rev
Log:
Expression evaluation works on FreeBSD after switch to MCJIT

http://www.llvm.org/pr16697

Modified:
    lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py
    lldb/trunk/test/expression_command/formatters/TestFormatters.py
    lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py
    lldb/trunk/test/expression_command/test/TestExprs.py
    lldb/trunk/test/functionalities/alias/TestAliases.py
    lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py
    lldb/trunk/test/lang/c/strings/TestCStrings.py
    lldb/trunk/test/lang/cpp/bool/TestCPPBool.py
    lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py
    lldb/trunk/test/lang/cpp/this/TestCPPThis.py
    lldb/trunk/test/lang/cpp/virtual/TestVirtual.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=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py (original)
+++ lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py Fri Aug 30 09:05:22 2013
@@ -26,7 +26,6 @@ class ExprCommandCallFunctionTestCase(Te
         self.call_function()
 
     @dwarf_test
-    @expectedFailureFreeBSD # llvm.org/pr16697
     @expectedFailureGcc # llvm.org/pr14437, fails with GCC 4.6.3 and 4.7.2
     @expectedFailureIcc # llvm.org/pr14437, fails with ICC 13.1
     def test_with_dwarf(self):

Modified: lldb/trunk/test/expression_command/formatters/TestFormatters.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/formatters/TestFormatters.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/formatters/TestFormatters.py (original)
+++ lldb/trunk/test/expression_command/formatters/TestFormatters.py Fri Aug 30 09:05:22 2013
@@ -25,7 +25,6 @@ class ExprFormattersTestCase(TestBase):
         self.buildDsym()
         self.do_my_test()
 
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @dwarf_test
     def test_with_dwarf(self):
         """Test expr + formatters for good interoperability."""

Modified: lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py (original)
+++ lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py Fri Aug 30 09:05:22 2013
@@ -20,7 +20,6 @@ class Radar9673644TestCase(TestBase):
         self.line = line_number(self.main_source, '// Set breakpoint here.')
 
     # rdar://problem/9673664
-    @expectedFailureFreeBSD # llvm.org/pr16697
     @skipIfLinux # llvm.org/pr14805: expressions that require memory allocation evaluate incorrectly on Linux
     def test_expr_commands(self):
         """The following expression commands should just work."""

Modified: lldb/trunk/test/expression_command/test/TestExprs.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/test/TestExprs.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/test/TestExprs.py (original)
+++ lldb/trunk/test/expression_command/test/TestExprs.py Fri Aug 30 09:05:22 2013
@@ -180,7 +180,6 @@ class BasicExprCommandsTestCase(TestBase
 
     # rdar://problem/8686536
     # CommandInterpreter::HandleCommand is stripping \'s from input for WantsRawCommand commands
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     def test_expr_commands_can_handle_quotes(self):
         """Throw some expression commands with quotes at lldb."""
         self.buildDefault()

Modified: lldb/trunk/test/functionalities/alias/TestAliases.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/alias/TestAliases.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/alias/TestAliases.py (original)
+++ lldb/trunk/test/functionalities/alias/TestAliases.py Fri Aug 30 09:05:22 2013
@@ -18,7 +18,6 @@ class AliasTestCase(TestBase):
         self.buildDsym ()
         self.alias_tests ()
 
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @dwarf_test
     def test_with_dwarf (self):
         self.buildDwarf ()

Modified: lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py (original)
+++ lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py Fri Aug 30 09:05:22 2013
@@ -30,7 +30,6 @@ class FunctionTypesTestCase(TestBase):
         self.buildDsym()
         self.function_pointers()
 
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @dwarf_test
     def test_pointers_with_dwarf(self):
         """Test that a function pointer to 'printf' works and can be called."""

Modified: lldb/trunk/test/lang/c/strings/TestCStrings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/strings/TestCStrings.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/strings/TestCStrings.py (original)
+++ lldb/trunk/test/lang/c/strings/TestCStrings.py Fri Aug 30 09:05:22 2013
@@ -16,7 +16,6 @@ class CStringsTestCase(TestBase):
         self.buildDsym()
         self.static_method_commands()
 
-    @expectedFailureFreeBSD # llvm.org/pr16697
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Tests that C strings work as expected in expressions"""

Modified: lldb/trunk/test/lang/cpp/bool/TestCPPBool.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/bool/TestCPPBool.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/bool/TestCPPBool.py (original)
+++ lldb/trunk/test/lang/cpp/bool/TestCPPBool.py Fri Aug 30 09:05:22 2013
@@ -16,7 +16,6 @@ class CPPBoolTestCase(TestBase):
         self.buildDsym()
         self.static_method_commands()
 
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Test that bool types work in the expression parser"""

Modified: lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py (original)
+++ lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py Fri Aug 30 09:05:22 2013
@@ -17,7 +17,6 @@ class CPPStaticMethodsTestCase(TestBase)
         self.buildDsym()
         self.static_method_commands()
 
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Test that static methods are properly distinguished from regular methods"""

Modified: lldb/trunk/test/lang/cpp/this/TestCPPThis.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/this/TestCPPThis.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/this/TestCPPThis.py (original)
+++ lldb/trunk/test/lang/cpp/this/TestCPPThis.py Fri Aug 30 09:05:22 2013
@@ -19,7 +19,6 @@ class CPPThisTestCase(TestBase):
         self.static_method_commands()
 
     #rdar://problem/9962849
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @expectedFailureGcc # llvm.org/pr15439 The 'this' pointer isn't available during expression evaluation when stopped in an inlined member function.
     @expectedFailureIcc # ICC doesn't emit correct DWARF inline debug info for inlined member functions
     @dwarf_test

Modified: lldb/trunk/test/lang/cpp/virtual/TestVirtual.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/virtual/TestVirtual.py?rev=189668&r1=189667&r2=189668&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/virtual/TestVirtual.py (original)
+++ lldb/trunk/test/lang/cpp/virtual/TestVirtual.py Fri Aug 30 09:05:22 2013
@@ -28,7 +28,6 @@ class CppVirtualMadness(TestBase):
         self.buildDsym()
         self.virtual_madness_test()
 
-    @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function'
     @expectedFailureIcc('llvm.org/pr16808') # lldb does not call the correct virtual function with icc
     def test_virtual_madness_dwarf(self):
         """Test that expression works correctly with virtual inheritance as well as virtual function."""





More information about the lldb-commits mailing list