| 1 |
# RUN: yaml2obj %s -o %t.o |
| 2 |
# RUN: llvm-nm %t.o --portability | FileCheck %s --strict-whitespace --match-full-lines |
| 3 |
# RUN: llvm-nm %t.o -P | FileCheck %s --strict-whitespace --match-full-lines |
| 4 |
|
| 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 |
Symbols: |
| 15 |
- Name: symbol_a |
| 16 |
Section: .text |
| 17 |
Size: 16 |
| 18 |
Value: 0xff |
| 19 |
- Name: symbol_wider_name |
| 20 |
Section: .text |
| 21 |
Size: 256 |
| 22 |
Value: 0xffeedd |
| 23 |
|
| 24 |
# CHECK:symbol_a n ff 10 |
| 25 |
# CHECK-NEXT:symbol_wider_name n ffeedd 100 |