This is an archive of the discontinued LLVM Phabricator instance.

Only print registered targets for `--version`
ClosedPublic

Authored by dim on Jun 7 2017, 4:23 AM.

Details

Summary

In D33900, I added printing of the registered targets in clang's
PrintVersion function, which is not only used for --version output,
but also for -v (verbose mode) and -###. Especially the latter
seems to trip up some test cases, so it is probably better to only print
the registered targets for --version.

Diff Detail

Repository
rL LLVM

Event Timeline

dim created this revision.Jun 7 2017, 4:23 AM
nemanjai accepted this revision.Jun 7 2017, 4:43 AM

LGTM. This cleans up the failures on PPC (and probably SystemZ) so the bots should go back to green.

This revision is now accepted and ready to land.Jun 7 2017, 4:43 AM
dim closed this revision.Jun 7 2017, 5:06 AM
This revision was automatically updated to reflect the committed changes.