mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
65d267277b
This matches the behavior of gnu ld. llvm-svn: 241512
10 lines
174 B
ArmAsm
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
|