18 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o3# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t2.o4# RUN: ld.lld -shared -soname=t2 %t2.o -o %t2.so5# RUN: ld.lld -gc-sections -export-dynamic %t.o %t2.so -o %t6# RUN: llvm-readobj --dyn-symbols %t | FileCheck %s7 8# CHECK: Name: bar9# CHECK: Name: foo10 11.comm bar,4,412.comm foo,4,413 14.text15.globl _start16_start:17 .quad foo18