summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangModulesDeclVendor.cpp
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/Expression/ClangModulesDeclVendor.cpp
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/Expression/ClangModulesDeclVendor.cpp')
-rw-r--r--lldb/source/Expression/ClangModulesDeclVendor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangModulesDeclVendor.cpp b/lldb/source/Expression/ClangModulesDeclVendor.cpp
index 46adaaff33c..b1ce44a847d 100644
--- a/lldb/source/Expression/ClangModulesDeclVendor.cpp
+++ b/lldb/source/Expression/ClangModulesDeclVendor.cpp
@@ -289,7 +289,7 @@ ClangModulesDeclVendor::Create(Target &target)
"-Werror=non-modular-include-in-framework-module"
};
- target.GetPlatform()->AddClangModuleCompilationOptions(compiler_invocation_arguments);
+ target.GetPlatform()->AddClangModuleCompilationOptions(&target, compiler_invocation_arguments);
compiler_invocation_arguments.push_back(ModuleImportBufferName);
OpenPOWER on IntegriCloud