brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · c2cc5c2 Raw
30 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-nm %t.o --debug-syms --format=sysv | FileCheck %s -DFILE=%t.o --strict-whitespace3# RUN: llvm-nm %t.o --debug-syms -fsysv | FileCheck %s -DFILE=%t.o --strict-whitespace4# RUN: llvm-nm %t.o --debug-syms -f sysv | FileCheck %s -DFILE=%t.o --strict-whitespace5 6!ELF7FileHeader:8  Class:   ELFCLASS649  Data:    ELFDATA2LSB10  Type:    ET_REL11  Machine: EM_X86_6412Sections:13  - Name:  .text14    Type:  SHT_PROGBITS15    Flags: [ SHF_ALLOC, SHF_EXECINSTR ]16Symbols:17  - Name:    symbol_with_a_significantly_longer_name18    Section: .text19  - Name:    symbol20    Section: .text21  - Name:    symbol_222    Type:    STT_FUNC23 24# CHECK:       Symbols from [[FILE]]:25# CHECK-EMPTY:26# CHECK-NEXT: Name                  Value           Class        Type         Size             Line  Section27# CHECK-NEXT: symbol              |0000000000000000|   t  |            NOTYPE|0000000000000000|     |.text28# CHECK-NEXT: symbol_2            |                |   U  |              FUNC|                |     |*UND*29# CHECK-NEXT: symbol_with_a_significantly_longer_name|0000000000000000|   t  |            NOTYPE|0000000000000000|     |.text30