Don't depend on these symbols being implicitly global.

This might change in llvm-mc and it is nice to be explicit in a test.

llvm-svn: 308506
This commit is contained in:
Rafael Espindola 2017-07-19 18:24:38 +00:00
parent 84c73fd9fc
commit aca2afcc55
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,7 @@
.global b@V1
b@V1 = b_1
.global b@@V2
b@@V2 = b_2
.globl a

View File

@ -7,7 +7,11 @@
.weak openat
openat:
.global openat@FBSD_1.1
openat@FBSD_1.1 = openat
.global openat@@FBSD_1.2
openat@@FBSD_1.2 = openat
# CHECK-DAG: openat@FBSD_1.1