[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

Simon Tatham via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 03:50:32 PDT 2023


================
@@ -152,6 +180,7 @@ template <> struct llvm::yaml::MappingTraits<MultilibSerialization> {
   static void mapping(llvm::yaml::IO &io, MultilibSerialization &V) {
     io.mapRequired("Dir", V.Dir);
     io.mapRequired("Flags", V.Flags);
+    io.mapOptional("ExclusiveGroup", V.ExclusiveGroup);
----------------
statham-arm wrote:

I'll rename it if you like, but I worry that that might be ambiguous, or at least unclear. Within the general context of linking and libraries, "group" need not mean a _mutually exclusive_ group; it could mean a grouping of libraries for other purposes too, like a mutually _dependent_ group (you must select all of these or none).

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


More information about the cfe-commits mailing list