[llvm-size] Initialize Radix to correct value (#128447)

Without the patch, invalid --radix, makes Radix to be 0, and result
in invalid format specifier ` %#7 `, instead of e.g ` %#7x `.
This commit is contained in:
Vitaly Buka 2025-02-24 12:58:01 -08:00
parent f58fde5857
commit e67cd152cf

View File

@ -76,7 +76,7 @@ static std::vector<StringRef> ArchFlags;
static bool ELFCommons;
static OutputFormatTy OutputFormat;
static bool DarwinLongFormat;
static RadixTy Radix;
static RadixTy Radix = RadixTy::decimal;
static bool TotalSizes;
static std::vector<std::string> InputFilenames;