summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2014-12-05 01:16:31 +0000
committerSean Callanan <scallanan@apple.com>2014-12-05 01:16:31 +0000
commit5dc2981cf8ff580fda060c93e663730b17e9be95 (patch)
treea827450b8293fa54c68c0276e9663524cd1975f4 /lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
parentb1e1c62fac12bf5c48b57d5e90d65bf1e48170b7 (diff)
downloadbcm5719-llvm-5dc2981cf8ff580fda060c93e663730b17e9be95.tar.gz
bcm5719-llvm-5dc2981cf8ff580fda060c93e663730b17e9be95.zip
Added support to Platform to indicate (1) whether the
current platform supports Clang modules, and (2) what options to pass to Clang so it can load those Clang modules. llvm-svn: 223431
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
index 9df723cb785..bc1b4251db0 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
@@ -95,6 +95,12 @@ public:
virtual bool
GetSupportedArchitectureAtIndex (uint32_t idx,
lldb_private::ArchSpec &arch);
+
+ void
+ AddClangModuleCompilationOptions (std::vector<std::string> &options) override
+ {
+ return PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(options, PlatformDarwin::SDKType::iPhoneOS);
+ }
protected:
struct SDKDirectoryInfo
OpenPOWER on IntegriCloud