https://bugs.llvm.org/show_bug.cgi?id=39403

            Bug ID: 39403
           Summary: llvm-size: Reject unknown radix values
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-size
          Assignee: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: llvm-bugs@lists.llvm.org

The --radix switch does not behave well when the radix value is an unknown
(i.e. not 8/10/16) value:

C:\Work>llvm-size.exe bar.elf
   text    data     bss     dec     hex filename
     58     204       0     262     106 bar.elf
C:\Work>llvm-size.exe bar.elf --radix=2
   text    data     bss     dec     hex filename
                            262     106 bar.elf

GNU size produces the error message "Invalid radix: 2" in the second case. We
should do the same, or something similar.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to