summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h94
1 files changed, 41 insertions, 53 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h b/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
index 2806c787c70..04bc28842c3 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
@@ -16,69 +16,57 @@
// Other libraries and framework includes
// Project includes
-#include "lldb/Host/FileSpec.h"
#include "PlatformDarwin.h"
#include "PlatformiOSSimulatorCoreSimulatorSupport.h"
+#include "lldb/Host/FileSpec.h"
#include "llvm/ADT/Optional.h"
-class PlatformAppleSimulator : public PlatformDarwin
-{
+class PlatformAppleSimulator : public PlatformDarwin {
public:
- //------------------------------------------------------------
- // Class Functions
- //------------------------------------------------------------
- static void
- Initialize ();
-
- static void
- Terminate ();
-
- //------------------------------------------------------------
- // Class Methods
- //------------------------------------------------------------
- PlatformAppleSimulator ();
-
- virtual
- ~PlatformAppleSimulator();
-
- lldb_private::Error
- LaunchProcess (lldb_private::ProcessLaunchInfo &launch_info) override;
-
- void
- GetStatus (lldb_private::Stream &strm) override;
-
- lldb_private::Error
- ConnectRemote (lldb_private::Args& args) override;
-
- lldb_private::Error
- DisconnectRemote () override;
-
- lldb::ProcessSP
- DebugProcess (lldb_private::ProcessLaunchInfo &launch_info,
- lldb_private::Debugger &debugger,
- lldb_private::Target *target,
- lldb_private::Error &error) override;
+ //------------------------------------------------------------
+ // Class Functions
+ //------------------------------------------------------------
+ static void Initialize();
+
+ static void Terminate();
+
+ //------------------------------------------------------------
+ // Class Methods
+ //------------------------------------------------------------
+ PlatformAppleSimulator();
+
+ virtual ~PlatformAppleSimulator();
+
+ lldb_private::Error
+ LaunchProcess(lldb_private::ProcessLaunchInfo &launch_info) override;
+
+ void GetStatus(lldb_private::Stream &strm) override;
+
+ lldb_private::Error ConnectRemote(lldb_private::Args &args) override;
+
+ lldb_private::Error DisconnectRemote() override;
+
+ lldb::ProcessSP DebugProcess(lldb_private::ProcessLaunchInfo &launch_info,
+ lldb_private::Debugger &debugger,
+ lldb_private::Target *target,
+ lldb_private::Error &error) override;
protected:
- std::mutex m_core_sim_path_mutex;
- llvm::Optional<lldb_private::FileSpec> m_core_simulator_framework_path;
- llvm::Optional<CoreSimulatorSupport::Device> m_device;
-
- lldb_private::FileSpec
- GetCoreSimulatorPath();
-
- void
- LoadCoreSimulator ();
-
+ std::mutex m_core_sim_path_mutex;
+ llvm::Optional<lldb_private::FileSpec> m_core_simulator_framework_path;
+ llvm::Optional<CoreSimulatorSupport::Device> m_device;
+
+ lldb_private::FileSpec GetCoreSimulatorPath();
+
+ void LoadCoreSimulator();
+
#if defined(__APPLE__)
- CoreSimulatorSupport::Device
- GetSimulatorDevice ();
+ CoreSimulatorSupport::Device GetSimulatorDevice();
#endif
-
+
private:
- DISALLOW_COPY_AND_ASSIGN (PlatformAppleSimulator);
-
+ DISALLOW_COPY_AND_ASSIGN(PlatformAppleSimulator);
};
-#endif // liblldb_PlatformAppleSimulator_h_
+#endif // liblldb_PlatformAppleSimulator_h_
OpenPOWER on IntegriCloud