21 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-nm --print-size %t.o | FileCheck %s --strict-whitespace3# RUN: llvm-nm -S %t.o | FileCheck %s --strict-whitespace4 5!ELF6FileHeader:7 Class: ELFCLASS648 Data: ELFDATA2LSB9 Type: ET_REL10 Machine: EM_X86_6411Sections:12 - Name: .text13 Type: SHT_PROGBITS14Symbols:15 - Name: a_symbol16 Size: 0x123456789abcdef017 Section: .text18 Binding: STB_GLOBAL19 20# CHECK: 0000000000000000 123456789abcdef0 N a_symbol21