1*55c81d42SFangrui Song# RUN: yaml2obj %s -o %t.o 27b395133SChris Jackson# RUN: llvm-nm %t.o --portability | FileCheck %s --strict-whitespace --match-full-lines 37b395133SChris Jackson# RUN: llvm-nm %t.o -P | FileCheck %s --strict-whitespace --match-full-lines 47b395133SChris Jackson 57b395133SChris Jackson!ELF 67b395133SChris JacksonFileHeader: 77b395133SChris Jackson Class: ELFCLASS64 87b395133SChris Jackson Data: ELFDATA2LSB 97b395133SChris Jackson Type: ET_REL 107b395133SChris Jackson Machine: EM_X86_64 117b395133SChris JacksonSections: 127b395133SChris Jackson - Name: .text 137b395133SChris Jackson Type: SHT_PROGBITS 147b395133SChris JacksonSymbols: 157b395133SChris Jackson - Name: symbol_a 167b395133SChris Jackson Section: .text 177b395133SChris Jackson Size: 16 187b395133SChris Jackson Value: 0xff 197b395133SChris Jackson - Name: symbol_wider_name 207b395133SChris Jackson Section: .text 217b395133SChris Jackson Size: 256 227b395133SChris Jackson Value: 0xffeedd 237b395133SChris Jackson 247b395133SChris Jackson# CHECK:symbol_a n ff 10 257b395133SChris Jackson# CHECK-NEXT:symbol_wider_name n ffeedd 100 26