1 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s | llvm-readelf -s - | FileCheck %s
3 // Test which symbols should
be in the symbol table
5 # CHECK: Symbol table '.symtab' contains 5 entries:
6 # CHECK-NEXT: Num: Value Size Type Bind Vis Ndx Name
7 # CHECK-NEXT: 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
8 # CHECK-NEXT: 1: 0000000000000000 0 NOTYPE LOCAL DEFAULT 4 .Lsym8
9 # CHECK-NEXT: 2: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND sym6
10 # CHECK-NEXT: 3: 0000000000000000 0 NOTYPE GLOBAL HIDDEN UND hidden
11 # CHECK-NEXT: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND undef
15 .Lsym4 = .Lsym2 - .Lsym3
22 .section .rodata.str1.1,"aMS",@progbits,1
27 movsd
.Lsym8(%rip), %xmm1