mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
f803b3d992
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212899 91177308-0d34-0410-b5e6-96231b3b80d8
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
|