================
@@ -202,17 +203,26 @@ ToolChain::findMultilibsYAML(const llvm::opt::ArgList
&Args, const Driver &D,
return std::string(MultilibPath);
}
- SmallString<128> MultilibPath;
- if (!FallbackDir.empty())
- MultilibPath = FallbackDir;
- else if (std::optional<std::string> StdlibDir = getStdlibPath())
- MultilibPath = *StdlibDir;
- else
- return std::nullopt;
- llvm::sys::path::append(MultilibPath, "multilib.yaml");
- if (!D.getVFS().exists(MultilibPath))
- return std::nullopt;
- return std::string(MultilibPath);
+ const auto getMultilibYaml =
----------------
vhscampos wrote:
Rename this to `getMultilibYamlPath`.
https://github.com/llvm/llvm-project/pull/227965
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits