[lld] r251913 - Make the test a bit more strict and fix the math.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 06:08:44 PST 2015


Author: rafael
Date: Tue Nov  3 08:08:43 2015
New Revision: 251913

URL: http://llvm.org/viewvc/llvm-project?rev=251913&view=rev
Log:
Make the test a bit more strict and fix the math.

Modified:
    lld/trunk/test/elf2/relocation-copy.s

Modified: lld/trunk/test/elf2/relocation-copy.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/relocation-copy.s?rev=251913&r1=251912&r2=251913&view=diff
==============================================================================
--- lld/trunk/test/elf2/relocation-copy.s (original)
+++ lld/trunk/test/elf2/relocation-copy.s Tue Nov  3 08:08:43 2015
@@ -42,10 +42,12 @@ movl $7, y
 // CHECK-NEXT:       Symbol: y
 // CHECK-NEXT:       Addend: 0x0
 // CHECK-NEXT:     }
+// CHECK-NEXT:   }
+// CHECK-NEXT: ]
 
 // 73888 = 0x120A0
 // 16 is alignment here
-// 73892 = 0x120A0 + 16
+// 73904 = 0x120A0 + 16
 // CODE: Disassembly of section .text:
 // CODE-NEXT: main:
 // CODE-NEXT: 11000: c7 04 25 a0 20 01 00 05 00 00 00 movl $5, 73888




More information about the llvm-commits mailing list