You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
390 B
15 lines
390 B
# 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
|
|
|
|
.ident "foo"
|
|
|
|
.globl _start
|
|
_start:
|
|
nop
|