[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / gc-sections-non-alloc-to-merge.s
blob2b7b38498e0b9ccd69cfe75eaeccfcf39332da43
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t --gc-sections
5 # RUN: llvm-readelf -S %t | FileCheck %s
7 # CHECK: .merge1 PROGBITS {{[0-9a-z]*}} {{[0-9a-z]*}} 000004
9 .global _start
10 _start:
11 .quad .Lfoo
13 .section .merge1,"aM",@progbits,4
14 .p2align 2
15 .Lfoo:
16 .long 1
17 .Lbar:
18 .long 2
20 .section .merge2,"aM",@progbits,4
21 .p2align 2
22 .Lzed:
23 .long 1
25 .section bar
26 .quad .Lbar
27 .quad .Lzed