brintos

brintos / llvm-project-archived public Read only

0
0
Text · 525 B · 2d225a4 Raw
15 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/comdat-gc.s -o %t15# RUN: echo "SECTIONS { .text : { *(.text*) } }" > %t.script6# RUN: ld.lld --gc-sections --script %t.script %t %t1 -o %t27# RUN: llvm-readobj --sections --symbols %t2 | FileCheck -check-prefix=GC1 %s8 9# GC1:     Name: .debug_line10 11.file 1 "test/ELF/linkerscript/comdat_gc.s"12.section  .text._Z3fooIiEvv,"axG",@progbits,_Z3fooIiEvv,comdat13.loc 1 1414  ret15