summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-01-22 18:25:49 +0000
committerGreg Clayton <gclayton@apple.com>2015-01-22 18:25:49 +0000
commitcd6bbba18612654fdc8aa2508202333694b207ab (patch)
treeb42efb5a23a2ab80b6436f0446db78fe528f5976 /lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
parent37c41c1d2c787ebc51fe40d1cc0d14e57f4b648d (diff)
downloadbcm5719-llvm-cd6bbba18612654fdc8aa2508202333694b207ab.tar.gz
bcm5719-llvm-cd6bbba18612654fdc8aa2508202333694b207ab.zip
Fix the -*-version-min option to not try and use the current OS version for iOS and the simulator since llvm/clang will assert and kill LLDB.
llvm-svn: 226846
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
index 9b24e3370c8..4cb336a2322 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
@@ -99,9 +99,9 @@ public:
lldb_private::ArchSpec &arch) override;
void
- AddClangModuleCompilationOptions (std::vector<std::string> &options) override
+ AddClangModuleCompilationOptions (lldb_private::Target *target, std::vector<std::string> &options) override
{
- return PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(options, PlatformDarwin::SDKType::iPhoneSimulator);
+ return PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(target, options, PlatformDarwin::SDKType::iPhoneSimulator);
}
protected:
OpenPOWER on IntegriCloud