mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
494d8a9d0a
MC was aping a binutils bug where aliases would default their linkage to private instead of internal. I've sent a patch to the binutils maintainers and they've recently applied it to the GNU assembler sources. This fixes PR20152. Differential Revision: http://reviews.llvm.org/D4395 llvm-svn: 212899
12 lines
340 B
ArmAsm
Executable File
12 lines
340 B
ArmAsm
Executable File
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-nm - | FileCheck %s --check-prefix=GLOBAL
|
|
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-nm - | FileCheck %s --check-prefix=LOCAL
|
|
|
|
not_global = 123
|
|
global = 456
|
|
.globl global
|
|
Llocal = 789
|
|
|
|
// LOCAL-NOT: local
|
|
// GLOBAL: A global
|
|
// GLOBAL: a not_global
|