llvm-mirror/test/Object/X86/nm-coff.s
Rafael Espindola 65d267277b llvm-nm: treat weak undefined as undefined.
This matches the behavior of gnu ld.

llvm-svn: 241512
2015-07-06 21:36:23 +00:00

10 lines
174 B
ArmAsm

// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
// RUN: llvm-nm --undefined-only %t | FileCheck %s
// CHECK: w foo
g:
movl foo(%rip), %eax
retq
.weak foo