mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
8b3aaabd30
They are implemented like that in some object formats, but for the interface provided by lib/Object, SF_Undefined and SF_Common are different things. This matches the ELF and COFF implementation and fixes llvm-nm for MachO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241587 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
192 B
ArmAsm
10 lines
192 B
ArmAsm
// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-apple-darwin
|
|
// RUN: llvm-nm -n %t | FileCheck %s
|
|
// CHECK: 0000000000000000 t _f
|
|
// CHECK: 0000000000000004 C _a
|
|
|
|
_f:
|
|
retq
|
|
|
|
.comm _a,4
|