This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][TEST] Use double dash flags in tests
ClosedPublic

Authored by maksfb on Jun 10 2022, 2:24 PM.

Details

Summary

Replace a single dash with a double dash for options that have more
than a single letter.

llvm-bolt-wrapper.py has special treatment for output options such as
"-o" and "-w" causing issues when a single dash is used, e.g. for
"-write-dwp". The wrapper can be fixed as well, but using a double dash
has other advantages as well.

Diff Detail

Event Timeline

maksfb created this revision.Jun 10 2022, 2:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2022, 2:24 PM
maksfb requested review of this revision.Jun 10 2022, 2:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2022, 2:24 PM
This revision is now accepted and ready to land.Jun 10 2022, 4:13 PM
This revision was landed with ongoing or failed builds.Jun 10 2022, 4:29 PM
This revision was automatically updated to reflect the committed changes.