Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-nm / undefined-only.test
blob720ded7f15f59326bc86c3dfbf10b4238b6f23f0
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-nm --undefined-only %t.o | FileCheck %s --implicit-check-not=symbol_defined
4 !ELF
5 FileHeader:
6   Class:   ELFCLASS64
7   Data:    ELFDATA2LSB
8   Type:    ET_REL
9   Machine: EM_X86_64
10 Sections:
11   - Name: .text
12     Type: SHT_PROGBITS
13 Symbols:
14   - Name:    symbol_undefined_a
15   - Name:    symbol_defined
16     Section: .text
17   - Name:    symbol_undefined_b
19 # CHECK:      U symbol_undefined_a
20 # CHECK-NEXT: U symbol_undefined_b