[lld] r288699 - Make test test what it should be testing.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 12:42:58 PST 2016


Author: rafael
Date: Mon Dec  5 14:42:58 2016
New Revision: 288699

URL: http://llvm.org/viewvc/llvm-project?rev=288699&view=rev
Log:
Make test test what it should be testing.

Looks like the second section in this test was lost along the way.

Modified:
    lld/trunk/test/ELF/bss.s

Modified: lld/trunk/test/ELF/bss.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/bss.s?rev=288699&r1=288698&r2=288699&view=diff
==============================================================================
--- lld/trunk/test/ELF/bss.s (original)
+++ lld/trunk/test/ELF/bss.s Mon Dec  5 14:42:58 2016
@@ -11,14 +11,24 @@
 // CHECK-NEXT:     SHF_ALLOC
 // CHECK-NEXT:     SHF_WRITE
 // CHECK-NEXT:   ]
-// CHECK-NEXT:   Address: 0x201000
-// CHECK-NEXT:   Offset: 0x1000
+// CHECK-NEXT:   Address:
+// CHECK-NEXT:   Offset: 0x[[OFFSET:.*]]
 // CHECK-NEXT:   Size: 4
 // CHECK-NEXT:   Link: 0
 // CHECK-NEXT:   Info: 0
 // CHECK-NEXT:   AddressAlignment:
 // CHECK-NEXT:   EntrySize: 0
 // CHECK-NEXT: }
+// CHECK-NEXT: Section {
+// CHECK-NEXT:   Index:
+// CHECK-NEXT:   Name:
+// CHECK-NEXT:   Type:
+// CHECK-NEXT:   Flags [
+// CHECK-NEXT:     SHF_MERGE
+// CHECK-NEXT:     SHF_STRINGS
+// CHECK-NEXT:   ]
+// CHECK-NEXT: Address:
+// CHECK-NEXT: Offset: 0x[[OFFSET]]
 
         .global _start
 _start:




More information about the llvm-commits mailing list