1## Show that llvm-objdump can handle a missing symbol table when printing 2## references and labels. 3 4# RUN: yaml2obj %s -o %t 5# RUN: llvm-objcopy -R .symtab %t 6# RUN: llvm-objdump %t -d | FileCheck %s 7 8# CHECK: Disassembly of section .text: 9# CHECK-EMPTY: 10# CHECK-NEXT: 0000000000004000 <.text>: 11# CHECK-NEXT: 4000: e8 42 00 00 00 callq 0x4047 <.text+0x47> 12 13--- !ELF 14FileHeader: 15 Class: ELFCLASS64 16 Data: ELFDATA2LSB 17 Type: ET_EXEC 18 Machine: EM_X86_64 19Sections: 20 - Name: .text 21 Type: SHT_PROGBITS 22 Address: 0x4000 23 Flags: [SHF_ALLOC, SHF_EXECINSTR] 24 Content: 'e842000000' 25