1 ## --format-bsd is the default output format of llvm-nm. Show that the default
2 ## and bsd output (including its aliases) match to confirm this.
4 # RUN: yaml2obj %s -o %t.o
5 # RUN: llvm-nm %t.o --format=bsd > %t.formatbsd.txt
6 # RUN: llvm-nm %t.o -f bsd > %t.fbsd.txt
7 # RUN: llvm-nm %t.o -B > %t.b.txt
8 # RUN: llvm-nm %t.o > %t.default.txt
10 # RUN: cmp %t.formatbsd.txt %t.default.txt
11 # RUN: cmp %t.formatbsd.txt %t.fbsd.txt
12 # RUN: cmp %t.formatbsd.txt %t.b.txt
14 ## Verify that some output is actually printed.
15 # RUN: FileCheck %s --input-file=%t.default.txt
17 # CHECK: 0000000000000000 T sym1
18 # CHECK-NEXT: 0000000000000000 W sym2
28 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]