[llvm] r225046 - Add a test for the recent compiler-rt build failure.

Rafael Espindola rafael.espindola at gmail.com
Wed Dec 31 08:58:05 PST 2014


Author: rafael
Date: Wed Dec 31 10:58:05 2014
New Revision: 225046

URL: http://llvm.org/viewvc/llvm-project?rev=225046&view=rev
Log:
Add a test for the recent compiler-rt build failure.

Modified:
    llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s

Modified: llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s?rev=225046&r1=225045&r2=225046&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s (original)
+++ llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s Wed Dec 31 10:58:05 2014
@@ -15,6 +15,7 @@ _fred:
 
 	adrp	x3, _data_ext at gotpage
         ldr	w2, [x3, _data_ext at gotpageoff]
+        adrp    x0, L_.str at PAGE
 
 	.data
 _data:
@@ -28,10 +29,23 @@ _data:
         .quad _foo at got
         .long _foo at got - .
 
+        .section __TEXT,__cstring,cstring_literals
+L_.str:
+        .asciz "foo"
+
 
 ; CHECK:     Relocations [
 ; CHECK-NEXT:  Section __text {
 ; CHECK-NEXT:    Relocation {
+; CHECK-NEXT:       Offset: 0x24
+; CHECK-NEXT:       PCRel: 1
+; CHECK-NEXT:       Length: 2
+; CHECK-NEXT:       Extern: 1
+; CHECK-NEXT:       Type: ARM64_RELOC_PAGE21 (3)
+; CHECK-NEXT:       Symbol: L_.str
+; CHECK-NEXT:       Scattered: 0
+; CHECK-NEXT:     }
+; CHECK-NEXT:    Relocation {
 ; CHECK-NEXT:       Offset: 0x20
 ; CHECK-NEXT:       PCRel: 0
 ; CHECK-NEXT:       Length: 2





More information about the llvm-commits mailing list