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.
16 lines
292 B
16 lines
292 B
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
|
# RUN: ld.lld -gc-sections -export-dynamic %t -o %t1
|
|
# RUN: llvm-readobj --dyn-symbols %t1 | FileCheck %s
|
|
|
|
# CHECK: Name: bar
|
|
# CHECK: Name: foo
|
|
|
|
.comm foo,4,4
|
|
.comm bar,4,4
|
|
|
|
.text
|
|
.globl _start
|
|
_start:
|
|
.quad foo
|