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
Paths
| Differential D39955
[Driver] Add a cc1 flag for the new TBAA metadata format ClosedPublic Authored by kosarev on Nov 13 2017, 4:57 AM.
Details Summary 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. kosarev retitled this revision from [Driver] Add command-line flags for the new TBAA metadata format to [Driver] Add a cc1 flag for the new TBAA metadata format. Comment ActionsRemoved the clang command-line flag for the new format. This revision is now accepted and ready to land.Nov 18 2017, 12:32 AM Closed by commit rL318644: [Driver] Add a cc1 flag for the new TBAA metadata format (authored by kosarev). · Explain WhyNov 20 2017, 3:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 122636 include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/tbaa.c
|