[lld] r285751 - Remove string table offsets from tests.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 14:26:29 PDT 2016


Author: ruiu
Date: Tue Nov  1 16:26:28 2016
New Revision: 285751

URL: http://llvm.org/viewvc/llvm-project?rev=285751&view=rev
Log:
Remove string table offsets from tests.

<N> where "foo (<N>)" is the offset of string "foo" in the string table.

Modified:
    lld/trunk/test/ELF/abs-hidden.s
    lld/trunk/test/ELF/arm-gnu-ifunc.s
    lld/trunk/test/ELF/arm-got-relative.s
    lld/trunk/test/ELF/basic-aarch64.s
    lld/trunk/test/ELF/basic-mips.s
    lld/trunk/test/ELF/basic-ppc.s
    lld/trunk/test/ELF/basic.s
    lld/trunk/test/ELF/basic32.s
    lld/trunk/test/ELF/basic64be.s
    lld/trunk/test/ELF/bsymbolic-undef.s
    lld/trunk/test/ELF/dont-export-hidden.s
    lld/trunk/test/ELF/dynamic-list.s
    lld/trunk/test/ELF/edata-etext.s
    lld/trunk/test/ELF/gc-sections-lsda.s
    lld/trunk/test/ELF/i386-gotpc.s
    lld/trunk/test/ELF/linkerscript/absolute-expr.s
    lld/trunk/test/ELF/lto/parallel-internalize.ll
    lld/trunk/test/ELF/mips-got-and-copy.s
    lld/trunk/test/ELF/relative-dynamic-reloc-ppc64.s
    lld/trunk/test/ELF/relative-dynamic-reloc.s
    lld/trunk/test/ELF/resolution.s
    lld/trunk/test/ELF/shared.s
    lld/trunk/test/ELF/undef-version-script.s
    lld/trunk/test/ELF/verneed.s
    lld/trunk/test/ELF/version-script-extern-exact.s
    lld/trunk/test/ELF/version-script.s
    lld/trunk/test/ELF/visibility.s
    lld/trunk/test/ELF/weak-undef.s

Modified: lld/trunk/test/ELF/abs-hidden.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/abs-hidden.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/abs-hidden.s (original)
+++ lld/trunk/test/ELF/abs-hidden.s Tue Nov  1 16:26:28 2016
@@ -25,7 +25,7 @@
 //                                       0x2060 - (0x1000 + 8) = 1058
 // CHECK-NEXT: )
 
-// CHECK:      Name: .got (38)
+// CHECK:      Name: .got
 // CHECK-NEXT: Type: SHT_PROGBITS
 // CHECK-NEXT: Flags [
 // CHECK-NEXT:   SHF_ALLOC

Modified: lld/trunk/test/ELF/arm-gnu-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-gnu-ifunc.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-gnu-ifunc.s (original)
+++ lld/trunk/test/ELF/arm-gnu-ifunc.s Tue Nov  1 16:26:28 2016
@@ -70,7 +70,7 @@ _start:
 // CHECK-NEXT:    Section: .rel.plt
 // CHECK-NEXT:  }
 // CHECK-NEXT:  Symbol {
-// CHECK-NEXT:    Name: _start (38)
+// CHECK-NEXT:    Name: _start
 // CHECK-NEXT:    Value: 0x11008
 // CHECK-NEXT:    Size: 0
 // CHECK-NEXT:    Binding: Global

Modified: lld/trunk/test/ELF/arm-got-relative.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-got-relative.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-got-relative.s (original)
+++ lld/trunk/test/ELF/arm-got-relative.s Tue Nov  1 16:26:28 2016
@@ -30,7 +30,7 @@ function:
 // CHECK: Dynamic Relocations {
 // CHECK-NEXT:  0x204C R_ARM_GLOB_DAT function 0x0
 
-// CHECK: Name: _GLOBAL_OFFSET_TABLE_ (16)
+// CHECK: Name: _GLOBAL_OFFSET_TABLE_
 // CHECK-NEXT:    Value: 0x0
 // CHECK-NEXT:    Size:
 // CHECK-NEXT:    Binding: Local

Modified: lld/trunk/test/ELF/basic-aarch64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic-aarch64.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic-aarch64.s (original)
+++ lld/trunk/test/ELF/basic-aarch64.s Tue Nov  1 16:26:28 2016
@@ -97,7 +97,7 @@ _start:
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Section {
 # CHECK-NEXT:     Index: 4
-# CHECK-NEXT:     Name: .strtab (25)
+# CHECK-NEXT:     Name: .strtab
 # CHECK-NEXT:     Type: SHT_STRTAB (0x3)
 # CHECK-NEXT:     Flags [ (0x0)
 # CHECK-NEXT:     ]

Modified: lld/trunk/test/ELF/basic-mips.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic-mips.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic-mips.s (original)
+++ lld/trunk/test/ELF/basic-mips.s Tue Nov  1 16:26:28 2016
@@ -87,7 +87,7 @@ __start:
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Section {
 # CHECK-NEXT:     Index: 3
-# CHECK-NEXT:     Name: .text (25)
+# CHECK-NEXT:     Name: .text
 # CHECK-NEXT:     Type: SHT_PROGBITS (0x1)
 # CHECK-NEXT:     Flags [ (0x6)
 # CHECK-NEXT:       SHF_ALLOC (0x2)
@@ -103,7 +103,7 @@ __start:
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Section {
 # CHECK-NEXT:     Index: 4
-# CHECK-NEXT:     Name: .got (31)
+# CHECK-NEXT:     Name: .got
 # CHECK-NEXT:     Type: SHT_PROGBITS (0x1)
 # CHECK-NEXT:     Flags [ (0x10000003)
 # CHECK-NEXT:       SHF_ALLOC (0x2)

Modified: lld/trunk/test/ELF/basic-ppc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic-ppc.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic-ppc.s (original)
+++ lld/trunk/test/ELF/basic-ppc.s Tue Nov  1 16:26:28 2016
@@ -57,7 +57,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 1
-// CHECK-NEXT:     Name: .dynsym (1)
+// CHECK-NEXT:     Name: .dynsym
 // CHECK-NEXT:     Type: SHT_DYNSYM (0xB)
 // CHECK-NEXT:     Flags [ (0x2)
 // CHECK-NEXT:       SHF_ALLOC (0x2)
@@ -75,7 +75,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 2
-// CHECK-NEXT:     Name: .hash (9)
+// CHECK-NEXT:     Name: .hash
 // CHECK-NEXT:     Type: SHT_HASH (0x5)
 // CHECK-NEXT:     Flags [ (0x2)
 // CHECK-NEXT:       SHF_ALLOC (0x2)
@@ -93,7 +93,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 3
-// CHECK-NEXT:     Name: .dynstr (15)
+// CHECK-NEXT:     Name: .dynstr
 // CHECK-NEXT:     Type: SHT_STRTAB (0x3)
 // CHECK-NEXT:     Flags [ (0x2)
 // CHECK-NEXT:       SHF_ALLOC (0x2)
@@ -111,7 +111,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 4
-// CHECK-NEXT:     Name: .text (23)
+// CHECK-NEXT:     Name: .text
 // CHECK-NEXT:     Type: SHT_PROGBITS (0x1)
 // CHECK-NEXT:     Flags [ (0x6)
 // CHECK-NEXT:       SHF_ALLOC (0x2)
@@ -130,7 +130,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 5
-// CHECK-NEXT:     Name: .dynamic (29)
+// CHECK-NEXT:     Name: .dynamic
 // CHECK-NEXT:     Type: SHT_DYNAMIC (0x6)
 // CHECK-NEXT:     Flags [ (0x3)
 // CHECK-NEXT:       SHF_ALLOC (0x2)
@@ -151,7 +151,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 6
-// CHECK-NEXT:     Name: .symtab (38)
+// CHECK-NEXT:     Name: .symtab
 // CHECK-NEXT:     Type: SHT_SYMTAB (0x2)
 // CHECK-NEXT:     Flags [ (0x0)
 // CHECK-NEXT:     ]
@@ -169,7 +169,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 7
-// CHECK-NEXT:     Name: .shstrtab (46)
+// CHECK-NEXT:     Name: .shstrtab
 // CHECK-NEXT:     Type: SHT_STRTAB (0x3)
 // CHECK-NEXT:     Flags [ (0x0)
 // CHECK-NEXT:     ]
@@ -189,7 +189,7 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT:   Section {
 // CHECK-NEXT:     Index: 8
-// CHECK-NEXT:     Name: .strtab (56)
+// CHECK-NEXT:     Name: .strtab
 // CHECK-NEXT:     Type: SHT_STRTAB (0x3)
 // CHECK-NEXT:     Flags [ (0x0)
 // CHECK-NEXT:     ]

Modified: lld/trunk/test/ELF/basic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic.s (original)
+++ lld/trunk/test/ELF/basic.s Tue Nov  1 16:26:28 2016
@@ -98,7 +98,7 @@ _start:
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Section {
 # CHECK-NEXT:     Index: 4
-# CHECK-NEXT:     Name: .strtab (25)
+# CHECK-NEXT:     Name: .strtab
 # CHECK-NEXT:     Type: SHT_STRTAB (0x3)
 # CHECK-NEXT:     Flags [ (0x0)
 # CHECK-NEXT:     ]

Modified: lld/trunk/test/ELF/basic32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic32.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic32.s (original)
+++ lld/trunk/test/ELF/basic32.s Tue Nov  1 16:26:28 2016
@@ -96,7 +96,7 @@ _start:
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Section {
 # CHECK-NEXT:     Index: 4
-# CHECK-NEXT:     Name: .strtab (25)
+# CHECK-NEXT:     Name: .strtab
 # CHECK-NEXT:     Type: SHT_STRTAB (0x3)
 # CHECK-NEXT:     Flags [ (0x0)
 # CHECK-NEXT:     ]

Modified: lld/trunk/test/ELF/basic64be.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic64be.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic64be.s (original)
+++ lld/trunk/test/ELF/basic64be.s Tue Nov  1 16:26:28 2016
@@ -67,7 +67,7 @@ _start:
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Section {
 # CHECK-NEXT:     Index: 1
-# CHECK-NEXT:     Name: .text (1)
+# CHECK-NEXT:     Name: .text
 # CHECK-NEXT:     Type: SHT_PROGBITS (0x1)
 # CHECK-NEXT:     Flags [ (0x6)
 # CHECK-NEXT:       SHF_ALLOC (0x2)

Modified: lld/trunk/test/ELF/bsymbolic-undef.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/bsymbolic-undef.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/bsymbolic-undef.s (original)
+++ lld/trunk/test/ELF/bsymbolic-undef.s Tue Nov  1 16:26:28 2016
@@ -4,7 +4,7 @@
 
 # CHECK:      DynamicSymbols [
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: @ (0)
+# CHECK-NEXT:     Name: @
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Local (0x0)
@@ -13,7 +13,7 @@
 # CHECK-NEXT:     Section: Undefined (0x0)
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: undef@ (1)
+# CHECK-NEXT:     Name: undef@
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Global (0x1)

Modified: lld/trunk/test/ELF/dont-export-hidden.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/dont-export-hidden.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/dont-export-hidden.s (original)
+++ lld/trunk/test/ELF/dont-export-hidden.s Tue Nov  1 16:26:28 2016
@@ -18,7 +18,7 @@ foo:
 
 // CHECK:      DynamicSymbols [
 // CHECK-NEXT:   Symbol {
-// CHECK-NEXT:     Name: @ (0)
+// CHECK-NEXT:     Name: @
 // CHECK-NEXT:     Value: 0x0
 // CHECK-NEXT:     Size: 0
 // CHECK-NEXT:     Binding: Local

Modified: lld/trunk/test/ELF/dynamic-list.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/dynamic-list.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/dynamic-list.s (original)
+++ lld/trunk/test/ELF/dynamic-list.s Tue Nov  1 16:26:28 2016
@@ -27,7 +27,7 @@
 
 # CHECK:      DynamicSymbols [
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: @ (0)
+# CHECK-NEXT:     Name: @
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Local
@@ -36,7 +36,7 @@
 # CHECK-NEXT:     Section: Undefined
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: foo1@ (1)
+# CHECK-NEXT:     Name: foo1@
 # CHECK-NEXT:     Value: 0x11000
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Global (0x1)
@@ -54,7 +54,7 @@
 
 # CHECK2:      DynamicSymbols [
 # CHECK2-NEXT:   Symbol {
-# CHECK2-NEXT:     Name: @ (0)
+# CHECK2-NEXT:     Name: @
 # CHECK2-NEXT:     Value: 0x0
 # CHECK2-NEXT:     Size: 0
 # CHECK2-NEXT:     Binding: Local
@@ -63,7 +63,7 @@
 # CHECK2-NEXT:     Section: Undefined
 # CHECK2-NEXT:   }
 # CHECK2-NEXT:   Symbol {
-# CHECK2-NEXT:     Name: foo1@ (1)
+# CHECK2-NEXT:     Name: foo1@
 # CHECK2-NEXT:     Value: 0x11000
 # CHECK2-NEXT:     Size: 0
 # CHECK2-NEXT:     Binding: Global (0x1)
@@ -72,7 +72,7 @@
 # CHECK2-NEXT:     Section: .text (0x4)
 # CHECK2-NEXT:   }
 # CHECK2-NEXT:   Symbol {
-# CHECK2-NEXT:     Name: foo2@ (6)
+# CHECK2-NEXT:     Name: foo2@
 # CHECK2-NEXT:     Value: 0x11001
 # CHECK2-NEXT:     Size: 0
 # CHECK2-NEXT:     Binding: Global (0x1)
@@ -81,7 +81,7 @@
 # CHECK2-NEXT:     Section: .text (0x4)
 # CHECK2-NEXT:   }
 # CHECK2-NEXT:   Symbol {
-# CHECK2-NEXT:     Name: foo31@ (11)
+# CHECK2-NEXT:     Name: foo31@
 # CHECK2-NEXT:     Value: 0x11002
 # CHECK2-NEXT:     Size: 0
 # CHECK2-NEXT:     Binding: Global (0x1)

Modified: lld/trunk/test/ELF/edata-etext.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/edata-etext.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/edata-etext.s (original)
+++ lld/trunk/test/ELF/edata-etext.s Tue Nov  1 16:26:28 2016
@@ -96,7 +96,7 @@
 # CHECK-NEXT:    Section: Absolute
 # CHECK-NEXT:  }
 # CHECK-NEXT:  Symbol {
-# CHECK-NEXT:    Name: _start (20)
+# CHECK-NEXT:    Name: _start
 # CHECK-NEXT:    Value: 0x11000
 # CHECK-NEXT:    Size: 0
 # CHECK-NEXT:    Binding: Global (0x1)

Modified: lld/trunk/test/ELF/gc-sections-lsda.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gc-sections-lsda.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/gc-sections-lsda.s (original)
+++ lld/trunk/test/ELF/gc-sections-lsda.s Tue Nov  1 16:26:28 2016
@@ -9,7 +9,7 @@
 
 // RUN: llvm-readobj -s %t | FileCheck %s
 // CHECK:  Name: .abc
-// CHECK: Name: .foo (38)
+// CHECK: Name: .foo
 
         .cfi_startproc
         .cfi_lsda 0x1b,zed

Modified: lld/trunk/test/ELF/i386-gotpc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-gotpc.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-gotpc.s (original)
+++ lld/trunk/test/ELF/i386-gotpc.s Tue Nov  1 16:26:28 2016
@@ -6,7 +6,7 @@
 
 movl $_GLOBAL_OFFSET_TABLE_, %eax
 
-// CHECK:      Name: .got (38)
+// CHECK:      Name: .got
 // CHECK-NEXT: Type: SHT_PROGBITS
 // CHECK-NEXT: Flags [
 // CHECK-NEXT:   SHF_ALLOC

Modified: lld/trunk/test/ELF/linkerscript/absolute-expr.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/absolute-expr.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/absolute-expr.s (original)
+++ lld/trunk/test/ELF/linkerscript/absolute-expr.s Tue Nov  1 16:26:28 2016
@@ -72,7 +72,7 @@ foo = 0x123
 # CHECK-NEXT:   Section: Absolute
 # CHECK-NEXT: }
 # CHECK-NEXT: Symbol {
-# CHECK-NEXT:   Name: bar6 (30)
+# CHECK-NEXT:   Name: bar6
 # CHECK-NEXT:   Value: 0x124
 # CHECK-NEXT:   Size: 0
 # CHECK-NEXT:   Binding: Global (0x1)

Modified: lld/trunk/test/ELF/lto/parallel-internalize.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/parallel-internalize.ll?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/parallel-internalize.ll (original)
+++ lld/trunk/test/ELF/lto/parallel-internalize.ll Tue Nov  1 16:26:28 2016
@@ -17,7 +17,7 @@
 ; CHECK-NEXT:     Section: Undefined (0x0)
 ; CHECK-NEXT:   }
 ; CHECK-NEXT:   Symbol {
-; CHECK-NEXT:     Name: bar (5)
+; CHECK-NEXT:     Name: bar
 ; CHECK-NEXT:     Value: 0x11010
 ; CHECK-NEXT:     Size: 8
 ; CHECK-NEXT:     Binding: Local (0x0)
@@ -28,7 +28,7 @@
 ; CHECK-NEXT:     Section: .text (0x2)
 ; CHECK-NEXT:   }
 ; CHECK-NEXT:   Symbol {
-; CHECK-NEXT:     Name: foo (1)
+; CHECK-NEXT:     Name: foo
 ; CHECK-NEXT:     Value: 0x11000
 ; CHECK-NEXT:     Size: 8
 ; CHECK-NEXT:     Binding: Global (0x1)

Modified: lld/trunk/test/ELF/mips-got-and-copy.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-got-and-copy.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-got-and-copy.s (original)
+++ lld/trunk/test/ELF/mips-got-and-copy.s Tue Nov  1 16:26:28 2016
@@ -37,7 +37,7 @@
 # CHECK-NEXT:       Value: 0x40014
 # CHECK-NEXT:       Type: Object (0x1)
 # CHECK-NEXT:       Section: .bss (0xD)
-# CHECK-NEXT:       Name: data1@ (7)
+# CHECK-NEXT:       Name: data1@
 # CHECK-NEXT:     }
 # CHECK-NEXT:   ]
 # CHECK-NEXT:   Number of TLS and multi-GOT entries: 0

Modified: lld/trunk/test/ELF/relative-dynamic-reloc-ppc64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relative-dynamic-reloc-ppc64.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/relative-dynamic-reloc-ppc64.s (original)
+++ lld/trunk/test/ELF/relative-dynamic-reloc-ppc64.s Tue Nov  1 16:26:28 2016
@@ -28,7 +28,7 @@
 
 // CHECK:      DynamicSymbols [
 // CHECK-NEXT:   Symbol {
-// CHECK-NEXT:     Name: @ (0)
+// CHECK-NEXT:     Name: @
 // CHECK-NEXT:     Value: 0x0
 // CHECK-NEXT:     Size: 0
 // CHECK-NEXT:     Binding: Local

Modified: lld/trunk/test/ELF/relative-dynamic-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relative-dynamic-reloc.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/relative-dynamic-reloc.s (original)
+++ lld/trunk/test/ELF/relative-dynamic-reloc.s Tue Nov  1 16:26:28 2016
@@ -27,7 +27,7 @@
 
 // CHECK:      DynamicSymbols [
 // CHECK-NEXT:   Symbol {
-// CHECK-NEXT:     Name: @ (0)
+// CHECK-NEXT:     Name: @
 // CHECK-NEXT:     Value: 0x0
 // CHECK-NEXT:     Size: 0
 // CHECK-NEXT:     Binding: Local

Modified: lld/trunk/test/ELF/resolution.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/resolution.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/resolution.s (original)
+++ lld/trunk/test/ELF/resolution.s Tue Nov  1 16:26:28 2016
@@ -307,7 +307,7 @@
 // CHECK-NEXT:     Section: Undefined
 // CHECK-NEXT:   }
 // CHECK-NEXT:  Symbol {
-// CHECK-NEXT:    Name: _start (929)
+// CHECK-NEXT:    Name: _start
 // CHECK-NEXT:    Value: 0x11000
 // CHECK-NEXT:    Size: 0
 // CHECK-NEXT:    Binding: Global (0x1)

Modified: lld/trunk/test/ELF/shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/shared.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/shared.s (original)
+++ lld/trunk/test/ELF/shared.s Tue Nov  1 16:26:28 2016
@@ -184,7 +184,7 @@
 
 // CHECK:      DynamicSymbols [
 // CHECK-NEXT:   Symbol {
-// CHECK-NEXT:     Name: @ (0)
+// CHECK-NEXT:     Name: @
 // CHECK-NEXT:     Value: 0x0
 // CHECK-NEXT:     Size: 0
 // CHECK-NEXT:     Binding: Local
@@ -223,7 +223,7 @@
 
 // DONT_EXPORT:      DynamicSymbols [
 // DONT_EXPORT-NEXT:   Symbol {
-// DONT_EXPORT-NEXT:     Name: @ (0)
+// DONT_EXPORT-NEXT:     Name: @
 // DONT_EXPORT-NEXT:     Value: 0x0
 // DONT_EXPORT-NEXT:     Size: 0
 // DONT_EXPORT-NEXT:     Binding: Local (0x0)

Modified: lld/trunk/test/ELF/undef-version-script.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/undef-version-script.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/undef-version-script.s (original)
+++ lld/trunk/test/ELF/undef-version-script.s Tue Nov  1 16:26:28 2016
@@ -8,7 +8,7 @@
 
 # CHECK:      DynamicSymbols [
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: @ (0)
+# CHECK-NEXT:     Name: @
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Local (0x0)
@@ -17,7 +17,7 @@
 # CHECK-NEXT:     Section: Undefined (0x0)
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: bar@ (1)
+# CHECK-NEXT:     Name: bar@
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Weak (0x2)
@@ -26,7 +26,7 @@
 # CHECK-NEXT:     Section: Undefined (0x0)
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: foo@ (5)
+# CHECK-NEXT:     Name: foo@
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Global (0x1)

Modified: lld/trunk/test/ELF/verneed.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/verneed.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/verneed.s (original)
+++ lld/trunk/test/ELF/verneed.s Tue Nov  1 16:26:28 2016
@@ -5,7 +5,7 @@
 
 # CHECK:        Section {
 # CHECK:         Index: 1
-# CHECK-NEXT:    Name: .dynsym (1)
+# CHECK-NEXT:    Name: .dynsym
 # CHECK-NEXT:    Type: SHT_DYNSYM (0xB)
 # CHECK-NEXT:    Flags [ (0x2)
 # CHECK-NEXT:      SHF_ALLOC (0x2)
@@ -19,7 +19,7 @@
 # CHECK-NEXT:    EntrySize: 24
 # CHECK:       Section {
 # CHECK-NEXT:   Index: 2
-# CHECK-NEXT:   Name: .gnu.version (9)
+# CHECK-NEXT:   Name: .gnu.version
 # CHECK-NEXT:   Type: SHT_GNU_versym (0x6FFFFFFF)
 # CHECK-NEXT:   Flags [ (0x2)
 # CHECK-NEXT:     SHF_ALLOC (0x2)
@@ -33,7 +33,7 @@
 # CHECK-NEXT:   EntrySize: 2
 # CHECK:       Section {
 # CHECK-NEXT:   Index: 3
-# CHECK-NEXT:   Name: .gnu.version_r (22)
+# CHECK-NEXT:   Name: .gnu.version_r
 # CHECK-NEXT:   Type: SHT_GNU_verneed (0x6FFFFFFE)
 # CHECK-NEXT:   Flags [ (0x2)
 # CHECK-NEXT:     SHF_ALLOC (0x2)
@@ -68,7 +68,7 @@
 
 # CHECK:      DynamicSymbols [
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: @ (0)
+# CHECK-NEXT:     Name: @
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Local (0x0)
@@ -77,7 +77,7 @@
 # CHECK-NEXT:     Section: Undefined (0x0)
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: f1 at v3 (1)
+# CHECK-NEXT:     Name: f1 at v3
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Global (0x1)
@@ -86,7 +86,7 @@
 # CHECK-NEXT:     Section: Undefined (0x0)
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: f2 at v2 (21)
+# CHECK-NEXT:     Name: f2 at v2
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Global (0x1)
@@ -95,7 +95,7 @@
 # CHECK-NEXT:     Section: Undefined (0x0)
 # CHECK-NEXT:   }
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: g1 at v1 (27)
+# CHECK-NEXT:     Name: g1 at v1
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Global (0x1)

Modified: lld/trunk/test/ELF/version-script-extern-exact.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-script-extern-exact.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/version-script-extern-exact.s (original)
+++ lld/trunk/test/ELF/version-script-extern-exact.s Tue Nov  1 16:26:28 2016
@@ -6,9 +6,9 @@
 # RUN: llvm-readobj -V -dyn-symbols %t.so | FileCheck %s
 
 # CHECK: Symbol {
-# CHECK:   Name: _Z3aaaPf@ (1)
+# CHECK:   Name: _Z3aaaPf@
 # CHECK: Symbol {
-# CHECK:   Name: _Z3aaaPi@ (10)
+# CHECK:   Name: _Z3aaaPi@
 
 .text
 .globl _Z3aaaPi

Modified: lld/trunk/test/ELF/version-script.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-script.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/version-script.s (original)
+++ lld/trunk/test/ELF/version-script.s Tue Nov  1 16:26:28 2016
@@ -47,7 +47,7 @@
 
 # DSO:      DynamicSymbols [
 # DSO-NEXT:   Symbol {
-# DSO-NEXT:     Name: @ (0)
+# DSO-NEXT:     Name: @
 # DSO-NEXT:     Value: 0x0
 # DSO-NEXT:     Size: 0
 # DSO-NEXT:     Binding: Local (0x0)
@@ -56,7 +56,7 @@
 # DSO-NEXT:     Section: Undefined (0x0)
 # DSO-NEXT:   }
 # DSO-NEXT:   Symbol {
-# DSO-NEXT:     Name: bar@ (1)
+# DSO-NEXT:     Name: bar@
 # DSO-NEXT:     Value: 0x0
 # DSO-NEXT:     Size: 0
 # DSO-NEXT:     Binding: Global (0x1)
@@ -65,7 +65,7 @@
 # DSO-NEXT:     Section: Undefined (0x0)
 # DSO-NEXT:   }
 # DSO-NEXT:   Symbol {
-# DSO-NEXT:     Name: foo1@ (5)
+# DSO-NEXT:     Name: foo1@
 # DSO-NEXT:     Value: 0x1000
 # DSO-NEXT:     Size: 0
 # DSO-NEXT:     Binding: Global (0x1)
@@ -74,7 +74,7 @@
 # DSO-NEXT:     Section: .text
 # DSO-NEXT:   }
 # DSO-NEXT:   Symbol {
-# DSO-NEXT:     Name: foo3@ (10)
+# DSO-NEXT:     Name: foo3@
 # DSO-NEXT:     Value: 0x1007
 # DSO-NEXT:     Size: 0
 # DSO-NEXT:     Binding: Global (0x1)
@@ -86,7 +86,7 @@
 
 # DSO2:      DynamicSymbols [
 # DSO2-NEXT:   Symbol {
-# DSO2-NEXT:     Name: @ (0)
+# DSO2-NEXT:     Name: @
 # DSO2-NEXT:     Value: 0x0
 # DSO2-NEXT:     Size: 0
 # DSO2-NEXT:     Binding: Local (0x0)
@@ -95,7 +95,7 @@
 # DSO2-NEXT:     Section: Undefined (0x0)
 # DSO2-NEXT:   }
 # DSO2-NEXT:   Symbol {
-# DSO2-NEXT:     Name: bar@ (1)
+# DSO2-NEXT:     Name: bar@
 # DSO2-NEXT:     Value: 0x0
 # DSO2-NEXT:     Size: 0
 # DSO2-NEXT:     Binding: Global (0x1)
@@ -107,7 +107,7 @@
 
 # EXE:      DynamicSymbols [
 # EXE-NEXT:   Symbol {
-# EXE-NEXT:     Name: @ (0)
+# EXE-NEXT:     Name: @
 # EXE-NEXT:     Value: 0x0
 # EXE-NEXT:     Size: 0
 # EXE-NEXT:     Binding: Local (0x0)
@@ -116,7 +116,7 @@
 # EXE-NEXT:     Section: Undefined (0x0)
 # EXE-NEXT:   }
 # EXE-NEXT:   Symbol {
-# EXE-NEXT:     Name: bar@ (1)
+# EXE-NEXT:     Name: bar@
 # EXE-NEXT:     Value: 0x0
 # EXE-NEXT:     Size: 0
 # EXE-NEXT:     Binding: Global (0x1)
@@ -125,7 +125,7 @@
 # EXE-NEXT:     Section: Undefined (0x0)
 # EXE-NEXT:   }
 # EXE-NEXT:   Symbol {
-# EXE-NEXT:     Name: foo1@ (5)
+# EXE-NEXT:     Name: foo1@
 # EXE-NEXT:     Value: 0x11000
 # EXE-NEXT:     Size: 0
 # EXE-NEXT:     Binding: Global (0x1)

Modified: lld/trunk/test/ELF/visibility.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/visibility.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/visibility.s (original)
+++ lld/trunk/test/ELF/visibility.s Tue Nov  1 16:26:28 2016
@@ -82,7 +82,7 @@
 
 // CHECK:      DynamicSymbols [
 // CHECK-NEXT:   Symbol {
-// CHECK-NEXT:     Name: @ (0)
+// CHECK-NEXT:     Name: @
 // CHECK-NEXT:     Value: 0x0
 // CHECK-NEXT:     Size: 0
 // CHECK-NEXT:     Binding: Local

Modified: lld/trunk/test/ELF/weak-undef.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/weak-undef.s?rev=285751&r1=285750&r2=285751&view=diff
==============================================================================
--- lld/trunk/test/ELF/weak-undef.s (original)
+++ lld/trunk/test/ELF/weak-undef.s Tue Nov  1 16:26:28 2016
@@ -5,7 +5,7 @@
 
 # CHECK:      DynamicSymbols [
 # CHECK-NEXT:   Symbol {
-# CHECK-NEXT:     Name: @ (0)
+# CHECK-NEXT:     Name: @
 # CHECK-NEXT:     Value: 0x0
 # CHECK-NEXT:     Size: 0
 # CHECK-NEXT:     Binding: Local (0x0)




More information about the llvm-commits mailing list