21 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 | count 05 6.globl _start, f1, f27_start:8 ret9 10.section .init, "ax"11f1:12 mov $60, %rax13 mov $42, %rdi14 syscall15 16.section .fini, "ax"17f2:18 mov $60, %rax19 mov $42, %rdi20 syscall21