[lld] r290988 - Delete stale test.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 11:14:35 PST 2017
Author: rafael
Date: Wed Jan 4 13:14:34 2017
New Revision: 290988
URL: http://llvm.org/viewvc/llvm-project?rev=290988&view=rev
Log:
Delete stale test.
We no longer tail merge section names.
Modified:
lld/trunk/test/ELF/string-table.s
Modified: lld/trunk/test/ELF/string-table.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/string-table.s?rev=290988&r1=290987&r2=290988&view=diff
==============================================================================
--- lld/trunk/test/ELF/string-table.s (original)
+++ lld/trunk/test/ELF/string-table.s Wed Jan 4 13:14:34 2017
@@ -1,6 +1,6 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
// RUN: ld.lld %t -o %t2
-// RUN: llvm-readobj -sections -section-data %t2 | FileCheck %s
+// RUN: llvm-readobj -sections %t2 | FileCheck %s
// REQUIRES: x86
.global _start
@@ -41,41 +41,3 @@ _start:
// CHECK-NEXT: Address: 0x0
// CHECK-NOT: Name: foobar
-
-// Test that the string "bar" is merged into "foobar".
-
-// CHECK: Section {
-// CHECK: Index:
-// CHECK: Name: .shstrtab
-// CHECK-NEXT: Type: SHT_STRTAB
-// CHECK-NEXT: Flags [
-// CHECK-NEXT: ]
-// CHECK-NEXT: Address: 0x0
-// CHECK-NEXT: Offset:
-// CHECK-NEXT: Size:
-// CHECK-NEXT: Link: 0
-// CHECK-NEXT: Info: 0
-// CHECK-NEXT: AddressAlignment: 1
-// CHECK-NEXT: EntrySize: 0
-// CHECK-NEXT: SectionData (
-// CHECK-NEXT: 0000: 00626172 002E7465 78740066 6F6F6261 |.bar..text.fooba|
-// CHECK-NEXT: 0010: 72002E63 6F6D6D65 6E74002E 73796D74 |r..comment..symt|
-// CHECK-NEXT: 0020: 6162002E 73687374 72746162 002E7374 |ab..shstrtab..st|
-// CHECK-NEXT: 0030: 72746162 00 |rtab.|
-// CHECK-NEXT: )
-// CHECK-NEXT:}
-// CHECK: Name: .strtab
-// CHECK-NEXT: Type: SHT_STRTAB (0x3)
-// CHECK-NEXT: Flags [ (0x0)
-// CHECK-NEXT: ]
-// CHECK-NEXT: Address: 0x0
-// CHECK-NEXT: Offset:
-// CHECK-NEXT: Size: 15
-// CHECK-NEXT: Link: 0
-// CHECK-NEXT: Info: 0
-// CHECK-NEXT: AddressAlignment: 1
-// CHECK-NEXT: EntrySize: 0
-// CHECK-NEXT: SectionData (
-// CHECK-NEXT: 0000: 00666F6F 62617200 5F737461 727400 |.foobar._start.|
-// CHECK-NEXT: )
-// CHECK-NEXT: }
More information about the llvm-commits
mailing list