================
@@ -104,6 +105,108 @@ ToolChain::ToolChain(const Driver &D, const llvm::Triple
&T,
addIfExists(getFilePaths(), Path);
}
+ToolChain::OrderedMultilibs ToolChain::getOrderedMultilibs() const {
+ if (!SelectedMultilibs.empty())
+ return llvm::reverse(SelectedMultilibs);
+
+ static const llvm::SmallVector<Multilib> Default = {Multilib()};
----------------
jhuber6 wrote:
This needs to be static for the permanent storage because the ordered multilibs
type is an iterator pair.
https://github.com/llvm/llvm-project/pull/188584
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits