[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / Object / X86 / archive-symbol-table.s
blob2e6fcbed60b1cb2f5abd2c815e0ba1e9bc189d7d
1 # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
2 # RUN: rm -f %t
3 # RUN: llvm-ar rcs %t %t.o
4 # RUN: llvm-nm -M %t | FileCheck %s
6 # Test that weak undefined symbols don't show up in the archive symbol
7 # table.
9 .global foo
10 foo:
11 .weak bar
12 .quad bar
14 # CHECK: Archive map
15 # CHECK-NEXT: foo in archive-symbol-table.s.tmp.o
16 # CHECK-NOT: in
17 # CHECK: archive-symbol-table.s.tmp.o
18 # CHECK-NEXT: w bar
19 # CHECK-NEXT: T foo