diff options
author | Sean Callanan <scallanan@apple.com> | 2014-12-05 01:16:31 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2014-12-05 01:16:31 +0000 |
commit | 5dc2981cf8ff580fda060c93e663730b17e9be95 (patch) | |
tree | a827450b8293fa54c68c0276e9663524cd1975f4 /lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h | |
parent | b1e1c62fac12bf5c48b57d5e90d65bf1e48170b7 (diff) | |
download | bcm5719-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/PlatformiOSSimulator.h')
-rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h index efbf0d118f3..6617989854c 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h @@ -97,6 +97,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::iPhoneSimulator); + } protected: std::string m_sdk_directory; |