mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into master-rebranch
This commit is contained in:
@@ -52,6 +52,7 @@ void CompilerInvocation::computeRuntimeResourcePathFromExecutablePath(
|
||||
}
|
||||
|
||||
void CompilerInvocation::setMainExecutablePath(StringRef Path) {
|
||||
FrontendOpts.MainExecutablePath = Path.str();
|
||||
llvm::SmallString<128> LibPath;
|
||||
computeRuntimeResourcePathFromExecutablePath(Path, LibPath);
|
||||
setRuntimeResourcePath(LibPath.str());
|
||||
|
||||
Reference in New Issue
Block a user