1 ## Show that the --reverse-sort option reverses the selected sort order.
2 # RUN: yaml2obj %s -o %t.o
3 # RUN: llvm-nm %t.o --reverse-sort | FileCheck %s --check-prefix=SORTED
4 # RUN: llvm-nm %t.o --reverse-sort --numeric-sort | FileCheck %s --check-prefix=SORTED
5 # RUN: llvm-nm %t.o --reverse-sort --size-sort | FileCheck %s --check-prefix=SORTED
6 # RUN: llvm-nm %t.o --reverse-sort --no-sort | FileCheck %s --check-prefix=UNSORTED
13 # UNSORTED-NEXT: third
14 # UNSORTED-NEXT: first
24 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]