[RFC] Multilib

I’ve created a new stack of changes taking into account the feedback I received on ⚙ D140959 RFC: Multilib prototype. Unlike that change which was strictly a prototype, the new changes should be suitable for detailed review and hopefully approval.

The patches I’m most interested to get feedback on are Multilib YAML parsing and Add -print-multi-selection-flags argument because they define a new stable APIs for Clang, so mistakes will be costly to fix later.

I will update the prototype to not use --sysroot but instead use -isystem and -L for all matching variants.

I haven’t done this but I am working on adding further patches to the stack to achieve the layering effect in the BareMetal ToolChain.

1 Like