[clang] [clang]: baremetal `multilib.yaml` discovery (PR #227965)

Mythreya Kuricheti via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 00:14:16 PDT 2026


================
@@ -202,10 +202,10 @@ ToolChain::findMultilibsYAML(const llvm::opt::ArgList &Args, const Driver &D,
   }
 
   SmallString<128> MultilibPath;
-  if (!FallbackDir.empty())
----------------
MythreyaK wrote:

The single `multilib.yaml` behavior isn't impacted with this change (existing setups should work identically). This change just makes the per-triple file work too if specified, like the hosted musl setups. 

Thank you for the context on the Qualcomm setup and your time in reviewing this! I'll switch to a single `multilib.yaml`. Happy to close this PR if the support for per-triple yaml is unnecessary!

https://github.com/llvm/llvm-project/pull/227965


More information about the cfe-commits mailing list