This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] RFC: don't default to running&dumping all analyses to '-'
ClosedPublic

Authored by lebedev.ri on Feb 3 2019, 5:11 AM.

Details

Summary

Up until the point i have looked in the source, i didn't even understood that
i can disable 'cluster' output. I have always silenced it via &> /dev/null.
(And hoped it wasn't contributing much of the run time.)

While i expect that it has it's use-cases i never once needed it so far.
If i forget to silence it, console is completely flooded with that output.

How about not expecting users to opt-out of analyses,
but to explicitly specify the analyses that should be performed?

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.Feb 3 2019, 5:11 AM
courbet accepted this revision.Feb 4 2019, 12:32 AM

Sounds very reasonable.

tools/llvm-exegesis/llvm-exegesis.cpp
410 ↗(On Diff #184942)

[nit] remove = after flag names.

This revision is now accepted and ready to land.Feb 4 2019, 12:32 AM

Sounds very reasonable.

Great! Thank you for the review.

This revision was automatically updated to reflect the committed changes.