This patch starts a series of changes to add support for the new TBAA metadata format proposed in this llvm-dev thread:
http://lists.llvm.org/pipermail/llvm-dev/2017-November/118748.html
Differential D39955
[Driver] Add a cc1 flag for the new TBAA metadata format kosarev on Nov 13 2017, 4:57 AM. Authored by
Details This patch starts a series of changes to add support for the new TBAA metadata format proposed in this llvm-dev thread: http://lists.llvm.org/pipermail/llvm-dev/2017-November/118748.html
Diff Detail
Event TimelineComment Actions We don't want this to become a long-term feature; we just want to switch the implementation over to the new format. Is there a good reason not to do that in one patch? If so, adding an option is acceptable, but it should be a -cc1 option only, because it is purely a testing option. Comment Actions Adding a (temporary) flag for the new format would help with updating tests that depend on the shape of TBAA metadata. There are lots of them and I guess some change frequently so we may want to address this in a few patches. That would also reduce the pressure on those who are in process of preparing new patches. So yes, if we can live with both the formats for some time, then that would make the transition easier for all concerned. Will remove the clang option from the patch. We don't need it indeed. Thanks for pointing out. Comment Actions Okay. I'm fine with living with both formats as long as we're not exposing this as a feature. |