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