From 5dc2981cf8ff580fda060c93e663730b17e9be95 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 5 Dec 2014 01:16:31 +0000 Subject: 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 --- lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h') 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 &options) override + { + return PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(options, PlatformDarwin::SDKType::iPhoneSimulator); + } protected: std::string m_sdk_directory; -- cgit v1.2.3