[clang] Fix print module manifest file for macos (PR #122370)

2025-01-10 Thread Bill Hoffman via cfe-commits
@@ -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::e

[clang] Fix print module manifest file for macos (PR #122370)

2025-01-10 Thread Bill Hoffman via cfe-commits
https://github.com/billhoffman updated https://github.com/llvm/llvm-project/pull/122370 >From 231a1efbecbf6c0f28eba49f3479e0320d33f02d Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 9 Jan 2025 15:52:40 -0500 Subject: [PATCH] Fix print module manifest file for macos --- clang/lib/Drive

[clang] Fix print module manifest file for macos (PR #122370)

2025-01-09 Thread Bill Hoffman via cfe-commits
https://github.com/billhoffman created https://github.com/llvm/llvm-project/pull/122370 This commit fixes -print-library-module-manifest-path on macos. Currently, this only works on linux systems. This is because on macos systems the library and header files are installed in a different locati