20 lines · plain
1# RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux2# RUN: rm -f %t3# RUN: llvm-ar rcs %t %t.o4# RUN: llvm-nm --print-armap %t | FileCheck %s5 6# Test that weak undefined symbols don't show up in the archive symbol7# table.8 9.global foo10foo:11.weak bar12.quad bar13 14# CHECK: Archive map15# CHECK-NEXT: foo in archive-symbol-table.s.tmp.o16# CHECK-NOT: in17# CHECK: archive-symbol-table.s.tmp.o18# CHECK-NEXT: w bar19# CHECK-NEXT: T foo20