brintos

brintos / llvm-project-archived public Read only

0
0
Text · 577 B · 9682b06 Raw
27 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | FileCheck %s5 6# RUN: llvm-mc -filetype=obj -triple=x86_64 --crel %s -o %t7# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | FileCheck %s8 9# CHECK: selected section {{.*}}:(.text.f1)10# CHECK:   removing identical section {{.*}}:(.text.f2)11 12.globl _start, f1, f213_start:14  ret15 16.section .text.f1, "ax"17f1:18  mov $60, %rax19  mov $42, %rdi20  syscall21 22.section .text.f2, "ax"23f2:24  mov $60, %rax25  mov $42, %rdi26  syscall27