brintos

brintos / llvm-project-archived public Read only

0
0
Text · 518 B · 47c4c88 Raw
24 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o4# RUN: ld.lld %t.o -o %t --icf=all5# RUN: llvm-objdump -d %t | FileCheck %s6 7# Test that we don't merge these.8# CHECK: leaq9# CHECK: leaq10 11        .section .merge1, "aM", @progbits, 812.Lfoo:13        .quad 4214 15        .section .merge2, "aM", @progbits, 416.Lbar:17        .long 4118 19        .section .text.foo, "ax", @progbits20        leaq    .Lfoo(%rip), %rax21 22        .section .text.bar, "ax", @progbits23        leaq    .Lbar(%rip), %rax24