mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
IRGenDebugInfo: Pass Sysroot to DIBuilder::createModule (#29524)
This commit is contained in:
@@ -660,8 +660,8 @@ private:
|
||||
}
|
||||
|
||||
StringRef Sysroot = IGM.Context.SearchPathOpts.SDKPath;
|
||||
llvm::DIModule *M =
|
||||
DBuilder.createModule(Parent, Name, ConfigMacros, RemappedIncludePath);
|
||||
llvm::DIModule *M = DBuilder.createModule(Parent, Name, ConfigMacros,
|
||||
RemappedIncludePath, Sysroot);
|
||||
DIModuleCache.insert({Key, llvm::TrackingMDNodeRef(M)});
|
||||
return M;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user