1 ## Warn if --disassemble-symbols specifies an unknown symbol.
3 # RUN: yaml2obj -o %t.o %s
5 # RUN: llvm-ar qc %t.a %t.o %t.o
6 # RUN: llvm-objdump --disassemble-symbols=foo %t.o 2>&1 | FileCheck %s
7 # RUN: llvm-objdump --disassemble-symbols=foo %t.a 2>&1 | FileCheck %s --check-prefix=MULTI
16 # CHECK: warning: {{.*}}: failed to disassemble missing symbol foo
18 # MULTI: file format elf64-x86-64
19 # MULTI: warning: {{.*}}: failed to disassemble missing symbol foo
20 # MULTI: file format elf64-x86-64
21 # MULTI: warning: {{.*}}: failed to disassemble missing symbol foo