This is an archive of the discontinued LLVM Phabricator instance.

TableGen: require tablegen cl::opts to be registered explicitly
AcceptedPublic

Authored by nhaehnle on Nov 18 2022, 2:40 AM.

Details

Reviewers
MaskRay
Summary

We plan to include the TableGen library into the LLVM shared library.
This is a preparatory change to avoid polluting the command-line options
space of non-tablegen tools.

See: https://discourse.llvm.org/t/rfc-cleaning-up-how-we-link-tablegen-tools/66678

Diff Detail

Event Timeline

nhaehnle created this revision.Nov 18 2022, 2:40 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 18 2022, 2:40 AM
nhaehnle requested review of this revision.Nov 18 2022, 2:40 AM
Herald added projects: Restricted Project, Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptNov 18 2022, 2:40 AM
nhaehnle edited the summary of this revision. (Show Details)Nov 18 2022, 3:08 AM
MaskRay accepted this revision.Nov 19 2022, 4:52 PM
MaskRay added a subscriber: MaskRay.

This is similar to mlir::register*Options and looks good to me.

This revision is now accepted and ready to land.Nov 19 2022, 4:52 PM