1 ## Show that the --diassemble-functions switch disassembles only the specified
4 # RUN: yaml2obj -o %t.out %p/Inputs/simple-executable-x86_64.yaml
5 # RUN: llvm-objdump -d %t.out --disassemble-symbols=main \
6 # RUN: | FileCheck %s --check-prefix=MAIN --implicit-check-not="<foo>:" --implicit-check-not=somedata
7 # RUN: llvm-objdump -d %t.out --disassemble-symbols=main,foo \
8 # RUN: | FileCheck %s --check-prefixes=MAIN,FOO --implicit-check-not=somedata
13 ## Unknown symbol name.
14 # RUN: llvm-objdump -d %t.out --disassemble-symbols=baz \
15 # RUN: | FileCheck %s --implicit-check-not=Disassembly
18 # RUN: llvm-objdump -d %t.out --disassemble-symbols=a \
19 # RUN: | FileCheck %s --implicit-check-not=Disassembly
21 ## Data symbol + --disassemble-all.
22 # RUN: llvm-objdump -D %t.out --disassemble-symbols=a \
23 # RUN: | FileCheck %s --check-prefix=DATA