diff options
Diffstat (limited to 'source/Expression/ClangModulesDeclVendor.cpp')
| -rw-r--r-- | source/Expression/ClangModulesDeclVendor.cpp | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/source/Expression/ClangModulesDeclVendor.cpp b/source/Expression/ClangModulesDeclVendor.cpp index 46adaaff33ce..0800b52e7e99 100644 --- a/source/Expression/ClangModulesDeclVendor.cpp +++ b/source/Expression/ClangModulesDeclVendor.cpp @@ -7,8 +7,11 @@  //  //===----------------------------------------------------------------------===// -#include "lldb/Core/StreamString.h" +#include <mutex> // std::once +  #include "lldb/Expression/ClangModulesDeclVendor.h" + +#include "lldb/Core/StreamString.h"  #include "lldb/Host/FileSpec.h"  #include "lldb/Host/Host.h"  #include "lldb/Host/HostInfo.h" @@ -22,7 +25,6 @@  #include "clang/Sema/Lookup.h"  #include "clang/Serialization/ASTReader.h" -#include <mutex>  using namespace lldb_private; @@ -289,7 +291,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);  | 
