[clang] Fix print module manifest file for macos (PR #122370)
Bill Hoffman via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 08:11:58 PST 2025
================
@@ -6380,6 +6380,11 @@ std::string Driver::GetFilePath(StringRef Name, const ToolChain &TC) const {
if (llvm::sys::fs::exists(Twine(R)))
return std::string(R);
+ SmallString<128> R2(ResourceDir);
+ llvm::sys::path::append(R2, "..", "..", Name);
+ if (llvm::sys::fs::exists(Twine(R2)))
+ return std::string(R2);
----------------
billhoffman wrote:
OK, I just moved it and did a force push. Makes sense to try this as the last thing. Less likely to break something else.
https://github.com/llvm/llvm-project/pull/122370
More information about the cfe-commits
mailing list