xref: /aosp_15_r20/external/llvm/test/Object/X86/nm-macho.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-apple-darwin
2*9880d681SAndroid Build Coastguard Worker// RUN: llvm-nm -n %t | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker// CHECK: 0000000000000000 t _f
4*9880d681SAndroid Build Coastguard Worker// CHECK: 0000000000000004 C _a
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker_f:
7*9880d681SAndroid Build Coastguard Worker	retq
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker	.comm	_a,4
10