blob: a8f4846a40f001da0678dfd6d8926f9b4c7ec2b0 [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/comment-gc.s -o %t2.o
# RUN: ld.lld %t.o %t2.o -o %t1 --gc-sections -shared
# RUN: llvm-objdump -s %t1 | FileCheck %s
# CHECK: Contents of section .comment:
# CHECK-NEXT: foo..LLD 1.0.bar
# CHECK-NEXT: .{{$}}
.ident "foo"
.globl _start
_start:
nop