• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t.o
2# RUN: llvm-nm --print-size %t.o | FileCheck %s --strict-whitespace
3# RUN: llvm-nm -S %t.o | FileCheck %s --strict-whitespace
4
5!ELF
6FileHeader:
7  Class:   ELFCLASS64
8  Data:    ELFDATA2LSB
9  Type:    ET_REL
10  Machine: EM_X86_64
11Sections:
12  - Name: .text
13    Type: SHT_PROGBITS
14Symbols:
15  - Name:    a_symbol
16    Size:    0x123456789abcdef0
17    Section: .text
18    Binding: STB_GLOBAL
19
20# CHECK: 0000000000000000 123456789abcdef0 N a_symbol
21