From fcdab16d244324482d8cd52fd047a7de1c51d486 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 30 Aug 2013 14:05:22 +0000 Subject: [PATCH] Expression evaluation works on FreeBSD after switch to MCJIT http://www.llvm.org/pr16697 llvm-svn: 189668 --- .../call-function/TestCallStdStringFunction.py | 1 - lldb/test/expression_command/formatters/TestFormatters.py | 1 - .../expression_command/radar_9673664/TestExprHelpExamples.py | 1 - lldb/test/expression_command/test/TestExprs.py | 1 - lldb/test/functionalities/alias/TestAliases.py | 1 - lldb/test/lang/c/function_types/TestFunctionTypes.py | 1 - lldb/test/lang/c/strings/TestCStrings.py | 1 - lldb/test/lang/cpp/bool/TestCPPBool.py | 1 - lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py | 1 - lldb/test/lang/cpp/this/TestCPPThis.py | 1 - lldb/test/lang/cpp/virtual/TestVirtual.py | 1 - 11 files changed, 11 deletions(-) diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py index a8b968b39ef5..0bbf78c679e5 100644 --- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py +++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py @@ -26,7 +26,6 @@ class ExprCommandCallFunctionTestCase(TestBase): 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): diff --git a/lldb/test/expression_command/formatters/TestFormatters.py b/lldb/test/expression_command/formatters/TestFormatters.py index 70ed269a2a4a..8f312f6e3cbe 100644 --- a/lldb/test/expression_command/formatters/TestFormatters.py +++ b/lldb/test/expression_command/formatters/TestFormatters.py @@ -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.""" diff --git a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py index 2165b3eeb93e..ed8501b334b5 100644 --- a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py +++ b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py @@ -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.""" diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/test/expression_command/test/TestExprs.py index 363adf289db0..422e05e3e2e6 100644 --- a/lldb/test/expression_command/test/TestExprs.py +++ b/lldb/test/expression_command/test/TestExprs.py @@ -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() diff --git a/lldb/test/functionalities/alias/TestAliases.py b/lldb/test/functionalities/alias/TestAliases.py index d3b86f27e497..99fb1d19fe0b 100644 --- a/lldb/test/functionalities/alias/TestAliases.py +++ b/lldb/test/functionalities/alias/TestAliases.py @@ -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 () diff --git a/lldb/test/lang/c/function_types/TestFunctionTypes.py b/lldb/test/lang/c/function_types/TestFunctionTypes.py index d6e4a28f1307..a9acced05d0d 100644 --- a/lldb/test/lang/c/function_types/TestFunctionTypes.py +++ b/lldb/test/lang/c/function_types/TestFunctionTypes.py @@ -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.""" diff --git a/lldb/test/lang/c/strings/TestCStrings.py b/lldb/test/lang/c/strings/TestCStrings.py index a3b3a261cdde..5870451057d3 100644 --- a/lldb/test/lang/c/strings/TestCStrings.py +++ b/lldb/test/lang/c/strings/TestCStrings.py @@ -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""" diff --git a/lldb/test/lang/cpp/bool/TestCPPBool.py b/lldb/test/lang/cpp/bool/TestCPPBool.py index e6eb18a6815a..0337cca5aa35 100644 --- a/lldb/test/lang/cpp/bool/TestCPPBool.py +++ b/lldb/test/lang/cpp/bool/TestCPPBool.py @@ -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""" diff --git a/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py b/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py index e228e1a85f60..357b050eb7b8 100644 --- a/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py +++ b/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py @@ -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""" diff --git a/lldb/test/lang/cpp/this/TestCPPThis.py b/lldb/test/lang/cpp/this/TestCPPThis.py index d2bb72d65ced..0cb7404a5ee4 100644 --- a/lldb/test/lang/cpp/this/TestCPPThis.py +++ b/lldb/test/lang/cpp/this/TestCPPThis.py @@ -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 diff --git a/lldb/test/lang/cpp/virtual/TestVirtual.py b/lldb/test/lang/cpp/virtual/TestVirtual.py index 876a36323155..2d811ab8e1f4 100644 --- a/lldb/test/lang/cpp/virtual/TestVirtual.py +++ b/lldb/test/lang/cpp/virtual/TestVirtual.py @@ -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."""