1 ## Warn if --disassemble-functions 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-functions=foo %t.o 2>&1 | FileCheck %s
7 # RUN: llvm-objdump --disassemble-functions=foo %t.a 2>&1 | FileCheck %s --check-prefix=MULTI
16 # CHECK: warning: failed to disassemble missing function foo
18 # MULTI: file format ELF64-x86-64
19 # MULTI: warning: failed to disassemble missing function foo
20 # MULTI: file format ELF64-x86-64
21 # MULTI: warning: failed to disassemble missing function foo