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 5 6# Test that weak undefined symbols don't show up in the archive symbol 7# table. 8 9.global foo 10foo: 11.weak bar 12.quad bar 13 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 20