• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t.o
2# RUN: llvm-nm --undefined-only %t.o | FileCheck %s --implicit-check-not=symbol_defined
3
4!ELF
5FileHeader:
6  Class:   ELFCLASS64
7  Data:    ELFDATA2LSB
8  Type:    ET_REL
9  Machine: EM_X86_64
10Sections:
11  - Name: .text
12    Type: SHT_PROGBITS
13Symbols:
14  - Name:    symbol_undefined_a
15  - Name:    symbol_defined
16    Section: .text
17  - Name:    symbol_undefined_b
18
19# CHECK:      U symbol_undefined_a
20# CHECK-NEXT: U symbol_undefined_b
21