1 # RUN: yaml2obj %s > %t 2 # RUN: llvm-objcopy %t %t2 3 # RUN: llvm-readobj -sections %t2 | FileCheck %s 4 # RUN: cp %t %t3 5 # RUN: llvm-strip --strip-debug %t3 6 # RUN: llvm-readobj -sections %t3 | FileCheck %s 7 8 !ELF 9 FileHeader: 10 Class: ELFCLASS64 11 Data: ELFDATA2LSB 12 Type: ET_REL 13 Machine: EM_X86_64 14 Sections: 15 - Name: .foo 16 Link: .symtab 17 Type: SHT_PROGBITS 18 Flags: [ ] 19 20 # CHECK: Name: .foo 21 # CHECK-NEXT: Type: 22 # CHECK-NEXT: Flags [ (0x0) 23 # CHECK-NEXT: ] 24 # CHECK-NEXT: Address: 25 # CHECK-NEXT: Offset: 26 # CHECK-NEXT: Size: 27 # CHECK-NEXT: Link: 0 28