Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / null-symbol.test
blobe9e73c97aa040caa22da5e53bb026d42b7272ba5
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
5 !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2LSB
9   Type:            ET_REL
10   Machine:         EM_X86_64
11 Sections:
12   - Name:            .text
13     Type:            SHT_PROGBITS
14     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
15     Address:         0x1000
16     AddressAlign:    0x0000000000000010
17     Size:            8
18 Symbols: []
20 #CHECK: Symbols [
21 #CHECK-NEXT:  Symbol {
22 #CHECK-NEXT:    Name: (0)
23 #CHECK-NEXT:    Value: 0x0
24 #CHECK-NEXT:    Size: 0
25 #CHECK-NEXT:    Binding: Local
26 #CHECK-NEXT:    Type: None
27 #CHECK-NEXT:    Other: 0
28 #CHECK-NEXT:    Section: Undefined
29 #CHECK-NEXT:  }