1 # RUN: llvm-nm --size-sort %p/Inputs/hello.obj.elf-x86_64 | FileCheck --check-prefix=SIZE-SORT-NO-ADDR %s
2 # RUN: llvm-nm --size-sort -S %p/Inputs/hello.obj.elf-x86_64 | FileCheck --check-prefix=SIZE-SORT-PRINT-ADDR %s
3 # RUN: llvm-nm -S %p/Inputs/hello.obj.elf-x86_64 | FileCheck --check-prefix=NO-SIZE-SORT-PRINT-ADDR %s
5 # SIZE-SORT-NO-ADDR: U puts
6 # SIZE-SORT-NO-ADDR: 0000000000000015 T main
8 # SIZE-SORT-PRINT-ADDR: U puts
9 # SIZE-SORT-PRINT-ADDR: 0000000000000000 0000000000000015 T main
11 # NO-SIZE-SORT-PRINT-ADDR: 0000000000000000 0000000000000015 T main
12 # NO-SIZE-SORT-PRINT-ADDR: U puts