Home | History | Annotate | Download | only in Object
      1 RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-i386 \
      2 RUN:         | FileCheck %s -check-prefix ELF-32
      3 RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-x86-64 \
      4 RUN:         | FileCheck %s -check-prefix ELF-64
      5 
      6 ; Note: tls_sym should be 'D' (not '?'), but TLS is not
      7 ; yet recognized by ObjectFile.
      8 
      9 ELF-32: 0012c8 A __bss_start
     10 ELF-32: 0012c8 A _edata
     11 ELF-32: 0012cc A _end
     12 ELF-32: 0012c8 B common_sym
     13 ELF-32: 0012c4 D defined_sym
     14 ELF-32: 0001f0 T global_func
     15 ELF-32:        ? tls_sym
     16 
     17 ELF-64: 200454 A __bss_start
     18 ELF-64: 200454 A _edata
     19 ELF-64: 200458 A _end
     20 ELF-64: 200454 B common_sym
     21 ELF-64: 200450 D defined_sym
     22 ELF-64: 0002f0 T global_func
     23 ELF-64:        ? tls_sym
     24