1 //===-- PlatformAppleTVSimulator.h ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_PlatformAppleTVSimulator_h_
11 #define liblldb_PlatformAppleTVSimulator_h_
15 // Other libraries and framework includes
17 #include "PlatformDarwin.h"
19 class PlatformAppleTVSimulator : public PlatformDarwin
23 //------------------------------------------------------------
25 //------------------------------------------------------------
26 static lldb::PlatformSP
27 CreateInstance (bool force, const lldb_private::ArchSpec *arch);
35 static lldb_private::ConstString
36 GetPluginNameStatic ();
39 GetDescriptionStatic();
41 //------------------------------------------------------------
43 //------------------------------------------------------------
44 PlatformAppleTVSimulator ();
47 ~PlatformAppleTVSimulator();
49 //------------------------------------------------------------
50 // lldb_private::PluginInterface functions
51 //------------------------------------------------------------
52 lldb_private::ConstString
53 GetPluginName() override
55 return GetPluginNameStatic();
59 GetPluginVersion() override
64 //------------------------------------------------------------
65 // lldb_private::Platform functions
66 //------------------------------------------------------------
68 ResolveExecutable (const lldb_private::ModuleSpec &module_spec,
69 lldb::ModuleSP &module_sp,
70 const lldb_private::FileSpecList *module_search_paths_ptr) override;
73 GetDescription () override
75 return GetDescriptionStatic();
79 GetStatus (lldb_private::Stream &strm) override;
81 virtual lldb_private::Error
82 GetSymbolFile (const lldb_private::FileSpec &platform_file,
83 const lldb_private::UUID *uuid_ptr,
84 lldb_private::FileSpec &local_file);
87 GetSharedModule (const lldb_private::ModuleSpec &module_spec,
88 lldb_private::Process* process,
89 lldb::ModuleSP &module_sp,
90 const lldb_private::FileSpecList *module_search_paths_ptr,
91 lldb::ModuleSP *old_module_sp_ptr,
92 bool *did_create_ptr) override;
95 FindProcesses (const lldb_private::ProcessInstanceInfoMatch &match_info,
96 lldb_private::ProcessInstanceInfoList &process_infos) override;
99 GetSupportedArchitectureAtIndex (uint32_t idx,
100 lldb_private::ArchSpec &arch) override;
103 AddClangModuleCompilationOptions (lldb_private::Target *target, std::vector<std::string> &options) override
105 return PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(target, options, PlatformDarwin::SDKType::iPhoneSimulator);
109 std::string m_sdk_directory;
110 std::string m_build_update;
113 GetSDKDirectoryAsCString();
116 DISALLOW_COPY_AND_ASSIGN (PlatformAppleTVSimulator);
121 #endif // liblldb_PlatformAppleTVSimulator_h_