16 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/comment-gc.s -o %t2.o4# RUN: ld.lld %t.o %t2.o -o %t1 --gc-sections -shared5# RUN: llvm-objdump -s %t1 | FileCheck %s6 7# CHECK: Contents of section .comment:8# CHECK-NEXT: foo..LLD 1.0.bar9# CHECK-NEXT: .{{$}}10 11.ident "foo"12 13.globl _start14_start:15 nop16