[llvm] [BOLT] Fix unrecognized option values for print-sorted-by-order (PR #155613)

Haibo Jiang via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 00:22:56 PDT 2025


Jianghibo wrote:

> Indeed it appears that descending was default with no way to set it?
> 
> ```
> llvm-bolt --dyno-stats --print-sorted-by-order=ascending ..
> llvm-bolt: for the --print-sorted-by-order option: Cannot find option named 'ascending'!
> 
> llvm-bolt --dyno-stats --print-sorted-by-order=descending ..
> llvm-bolt: for the --print-sorted-by-order option: Cannot find option named 'descending'!
> ```
> 
> Not sure if it's easy to add a small lit test or some text example on the PR.

Thanks for your review, added the test case.

https://github.com/llvm/llvm-project/pull/155613


More information about the llvm-commits mailing list