1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/comment-gc.s -o %t2.o 4# RUN: ld.lld %t.o %t2.o -o %t1 --gc-sections -shared 5# RUN: llvm-objdump -s %t1 | FileCheck %s 6 7# CHECK: Contents of section .comment: 8# CHECK-NEXT: foo..LLD 1.0.bar 9 10.ident "foo" 11 12.globl _start 13_start: 14 nop 15