1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 4# RUN: ld.lld %t.o -o %t --icf=all 5# RUN: llvm-objdump -d %t | FileCheck %s 6 7# Test that we don't merge these. 8# CHECK: leaq 9# CHECK: leaq 10 11 .section .merge1, "aM", @progbits, 8 12.Lfoo: 13 .quad 42 14 15 .section .merge2, "aM", @progbits, 4 16.Lbar: 17 .long 41 18 19 .section .text.foo, "ax", @progbits 20 leaq .Lfoo(%rip), %rax 21 22 .section .text.bar, "ax", @progbits 23 leaq .Lbar(%rip), %rax 24