Merge pull request #80007 from hjyamauchi/androidoverlay

Propagate sysroot to module loader subinvocation
This commit is contained in:
Hiroshi Yamauchi
2025-03-14 22:12:02 -07:00
committed by GitHub
7 changed files with 29 additions and 9 deletions

View File

@@ -712,6 +712,7 @@ public:
std::error_code runInSubContext(StringRef moduleName,
StringRef interfacePath,
StringRef sdkPath,
std::optional<StringRef> sysroot,
StringRef outputPath,
SourceLoc diagLoc,
llvm::function_ref<std::error_code(ASTContext&, ModuleDecl*,
@@ -720,6 +721,7 @@ public:
std::error_code runInSubCompilerInstance(StringRef moduleName,
StringRef interfacePath,
StringRef sdkPath,
std::optional<StringRef> sysroot,
StringRef outputPath,
SourceLoc diagLoc,
bool silenceErrors,