1## Warn if --disassemble-symbols specifies an unknown symbol. 2 3# RUN: yaml2obj -o %t.o %s 4# RUN: rm -f %t.a 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 8 9--- !ELF 10FileHeader: 11 Class: ELFCLASS64 12 Data: ELFDATA2LSB 13 Type: ET_REL 14 Machine: EM_X86_64 15 16# CHECK: warning: {{.*}}: failed to disassemble missing symbol foo 17 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 22