[Tools] Changed the number printing format for sorting
authordbakunevich <dbakunevich@azul.com>
Tue, 7 Mar 2023 10:34:00 +0000 (17:34 +0700)
committerdbakunevich <dbakunevich@azul.com>
Fri, 17 Mar 2023 07:35:12 +0000 (14:35 +0700)
commitdc9c7f5391240b763ffb37276ac3c7f2ebec94bb
tree718bc9f58bf3c9e95fea9079b94ff1864e52ecfa
parent4dd5e9c60efa980b62aff72d358e7679476399e8
[Tools] Changed the number printing format for sorting

As part of this patch, I added the ability to add leading zeros.
This is necessary so that the generated files are sorted in ascending order.

Reviewed By: yrouban

Differential Revision: https://reviews.llvm.org/D145484
llvm/utils/chunk-print-before-all.py