[llvm] r235168 - Add a reduced testcase from pr23025.
Rafael Espindola
rafael.espindola at gmail.com
Fri Apr 17 02:05:26 PDT 2015
Author: rafael
Date: Fri Apr 17 04:05:25 2015
New Revision: 235168
URL: http://llvm.org/viewvc/llvm-project?rev=235168&view=rev
Log:
Add a reduced testcase from pr23025.
Added:
llvm/trunk/test/MC/COFF/pr23025.s
Added: llvm/trunk/test/MC/COFF/pr23025.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/pr23025.s?rev=235168&view=auto
==============================================================================
--- llvm/trunk/test/MC/COFF/pr23025.s (added)
+++ llvm/trunk/test/MC/COFF/pr23025.s Fri Apr 17 04:05:25 2015
@@ -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
More information about the llvm-commits
mailing list