summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-05-22 16:33:43 +0000
committerPavel Labath <labath@google.com>2018-05-22 16:33:43 +0000
commit4c7763eb2f3175b772d199424ffe3bdf52e7ee76 (patch)
tree73d1c5d4104d9a20ec502977f396ff04cc8cacd0 /lldb/packages/Python/lldbsuite
parent85d26075f9571f15977c41a665cc8a72841b49e5 (diff)
downloadbcm5719-llvm-4c7763eb2f3175b772d199424ffe3bdf52e7ee76.tar.gz
bcm5719-llvm-4c7763eb2f3175b772d199424ffe3bdf52e7ee76.zip
Enable ProcessMachCore plugin on non-apple platforms
Summary: The plugin already builds fine on other platforms (linux, at least). All that was necessary was to revitalize the hack in PlatformDarwinKernel (not a very pretty hack, but it gets us going at least). I haven't done a thorough investigation of the state of the plugin on other platforms, but at least the two core file tests we have seem to pass, so I enable them. Reviewers: JDevlieghere, jasonmolenda Subscribers: lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D47133 llvm-svn: 332997
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
index 06225d3923c..ea981292157 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py
@@ -26,7 +26,6 @@ class MachCoreTestCase(TestBase):
lldb.DBG.SetSelectedPlatform(self._initial_platform)
super(MachCoreTestCase, self).tearDown()
- @skipUnlessDarwin
def test_selected_thread(self):
"""Test that the right thread is selected after a core is loaded."""
# Create core form YAML.
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py b/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py
index 2f8efbeaab6..6bcd9c92f8c 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py
@@ -7,7 +7,6 @@ class TestTargetSourceMap(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @skipUnlessDarwin
@no_debug_info_test
def test_source_map(self):
"""Test target.source-map' functionality."""
OpenPOWER on IntegriCloud