blob: 077bdb9021a6d20a5eb5cd3850a1668edb31084a [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: .LLD 1.0.foo.bar
.ident "foo"
.globl _start
_start:
nop