xref: /aosp_15_r20/external/llvm/test/Object/X86/nm-coff.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
2*9880d681SAndroid Build Coastguard Worker// RUN: llvm-nm --undefined-only %t | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker// CHECK: w foo
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerg:
6*9880d681SAndroid Build Coastguard Worker	movl	foo(%rip), %eax
7*9880d681SAndroid Build Coastguard Worker	retq
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker	.weak	foo
10