summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform
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/source/Plugins/Platform
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/source/Plugins/Platform')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
index 9b3ec5e0d71..099bb524ae4 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
@@ -201,6 +201,7 @@ public:
// source/Host/macosx/cfcpp utilities.
class PlatformDarwinKernel {
+public:
static lldb_private::ConstString GetPluginNameStatic();
};
OpenPOWER on IntegriCloud