mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
Add a reduced testcase from pr23025.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2298ce3d6a
commit
e95f704ed9
18
test/MC/COFF/pr23025.s
Normal file
18
test/MC/COFF/pr23025.s
Normal file
@ -0,0 +1,18 @@
|
||||
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-windows-msvc < %s | llvm-readobj -r | FileCheck %s
|
||||
|
||||
// CHECK: Relocations [
|
||||
// CHECK-NEXT: Section {{.*}} .text {
|
||||
// CHECK-NEXT: 0x3 IMAGE_REL_AMD64_REL32 zed
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: ]
|
||||
|
||||
foo:
|
||||
leaq zed(%rip), %rax
|
||||
retq
|
||||
|
||||
.section .rdata,"dr",discard,zed
|
||||
Lbar:
|
||||
.zero 2
|
||||
|
||||
.globl zed
|
||||
zed = Lbar+1
|
Loading…
Reference in New Issue
Block a user