mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
fa2ca74300
This matches the behavior of gnu ld. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241512 91177308-0d34-0410-b5e6-96231b3b80d8
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
|