[Coverage] MCDC: Move findIndependencePairs deferred into MCDCRecord (#121188)
[llvm-project.git] / llvm / test / Object / X86 / archive-symbol-table.s
blobf61592aed13e0d36fbc549cffc4446dfbdfc5f43
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 --print-armap %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