This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Fix a little mess in Options.td
AbandonedPublic

Authored by grimar on Jul 18 2017, 7:25 AM.

Details

Reviewers
ruiu
rafael
Summary

Currenlty we have inconsistent options declatrations,
e.g we may have option "XXX" and alias "XXX=" and
at the same time option "YYY=" and alias "YYY".

Some of options missing second form as well. That all
make task to print options aliases in --help nicelly difficult.

For example D35477 tries to hide similar forms of options
and output looks inconsistent because of this little mess.

Patch cleans this up.

Diff Detail

Event Timeline

grimar created this revision.Jul 18 2017, 7:25 AM
ruiu edited edge metadata.Jul 18 2017, 10:49 AM

I believe we actually should use multiclass to define multiple options at once.

grimar abandoned this revision.Jul 19 2017, 5:58 AM

In favor of D35619