brintos

brintos / llvm-project-archived public Read only

0
0
Text · 594 B · 8631277 Raw
22 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o4# RUN: ld.lld --shared %t.o -o /dev/null 2>&1 | count 05# RUN: ld.lld -e A --unresolved-symbols=ignore-all %t.o -o /dev/null 2>&1 | count 06 7# RUN: echo '.globl B; B: ret' | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t1.o8# RUN: ld.lld --shared %t1.o -o %t1.so9# RUN: ld.lld -e A %t.o %t1.so -o /dev/null 2>&1 | count 010 11# RUN: ld.lld --gc-sections %t.o %t1.so -o /dev/null 2>&1 | count 012.globl _start13_start:14  ret15 16.section .text.A,"ax",@progbits17.globl A18A:19  callq B20 21.cg_profile A, B, 1022