Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
15 lines
689 B
Diff
15 lines
689 B
Diff
diff --git a/lib/Driver/ToolChains/CommonArgs.cpp b/lib/Driver/ToolChains/CommonArgs.cpp
|
|
index 34640b3c450d..93c4a4f4ec5c 100644
|
|
--- a/lib/Driver/ToolChains/CommonArgs.cpp
|
|
+++ b/lib/Driver/ToolChains/CommonArgs.cpp
|
|
@@ -589,8 +589,7 @@ void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args,
|
|
#endif
|
|
|
|
SmallString<1024> Plugin;
|
|
- llvm::sys::path::native(Twine(D.Dir) +
|
|
- "/../" CLANG_INSTALL_LIBDIR_BASENAME +
|
|
+ llvm::sys::path::native(Twine("@libllvmLibdir@") +
|
|
PluginName + Suffix,
|
|
Plugin);
|
|
CmdArgs.push_back(Args.MakeArgString(Twine(PluginPrefix) + Plugin));
|