[llvm-bugs] [Bug 39403] New: llvm-size: Reject unknown radix values

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 23 05:39:09 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181023/7b0ead2c/attachment-0001.html>


More information about the llvm-bugs mailing list