1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy -R .test %t %t2
3 # RUN: llvm-readobj --file-headers --symbols %t2 | FileCheck %s
32 # The sections counted here should be .test, .symtab, .strtab, and .shstrtab.
33 # The 5th section is the null section.
34 #CHECK: SectionHeaderCount: 5
39 #CHECK-NEXT: Value: 0x0
41 #CHECK-NEXT: Binding: Local
42 #CHECK-NEXT: Type: None
44 #CHECK-NEXT: Section: Undefined
47 #CHECK-NEXT: Name: test2
48 #CHECK-NEXT: Value: 0x1000
50 #CHECK-NEXT: Binding: Global
51 #CHECK-NEXT: Type: Function
53 #CHECK-NEXT: Section: .test2