[llvm-commits] [llvm] r136871 - in /llvm/trunk/test: MC/ARM/ MC/ELF/ Scripts/
Rafael Espindola
rafael.espindola at gmail.com
Thu Aug 4 07:27:47 PDT 2011
Author: rafael
Date: Thu Aug 4 09:27:46 2011
New Revision: 136871
URL: http://llvm.org/viewvc/llvm-project?rev=136871&view=rev
Log:
Another counter goes decimal.
Modified:
llvm/trunk/test/MC/ARM/elf-reloc-01.ll
llvm/trunk/test/MC/ARM/elf-reloc-02.ll
llvm/trunk/test/MC/ARM/elf-reloc-03.ll
llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc.ll
llvm/trunk/test/MC/ARM/elf-thumbfunc.s
llvm/trunk/test/MC/ELF/abs.s
llvm/trunk/test/MC/ELF/alias-reloc.s
llvm/trunk/test/MC/ELF/alias.s
llvm/trunk/test/MC/ELF/comdat.s
llvm/trunk/test/MC/ELF/common.s
llvm/trunk/test/MC/ELF/file.s
llvm/trunk/test/MC/ELF/local-reloc.s
llvm/trunk/test/MC/ELF/merge.s
llvm/trunk/test/MC/ELF/noexec.s
llvm/trunk/test/MC/ELF/pic-diff.s
llvm/trunk/test/MC/ELF/pr9292.s
llvm/trunk/test/MC/ELF/relax.s
llvm/trunk/test/MC/ELF/relocation-386.s
llvm/trunk/test/MC/ELF/relocation.s
llvm/trunk/test/MC/ELF/rename.s
llvm/trunk/test/MC/ELF/symref.s
llvm/trunk/test/MC/ELF/tls-i386.s
llvm/trunk/test/MC/ELF/tls.s
llvm/trunk/test/MC/ELF/type.s
llvm/trunk/test/MC/ELF/undef.s
llvm/trunk/test/MC/ELF/weak.s
llvm/trunk/test/MC/ELF/weakref-plt.s
llvm/trunk/test/MC/ELF/weakref-reloc.s
llvm/trunk/test/MC/ELF/weakref.s
llvm/trunk/test/Scripts/elf-dump
Modified: llvm/trunk/test/MC/ARM/elf-reloc-01.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-reloc-01.ll?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-reloc-01.ll (original)
+++ llvm/trunk/test/MC/ARM/elf-reloc-01.ll Thu Aug 4 09:27:46 2011
@@ -65,6 +65,6 @@
;; OBJ-NEXT: 'r_sym', 0x00000002
;; OBJ-NEXT: 'r_type', 0x0000002b
-;; OBJ: Symbol 0x00000002
+;; OBJ: Symbol 2
;; OBJ-NEXT: '_MergedGlobals'
;; OBJ-NEXT: 'st_value', 0x00000010
Modified: llvm/trunk/test/MC/ARM/elf-reloc-02.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-reloc-02.ll?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-reloc-02.ll (original)
+++ llvm/trunk/test/MC/ARM/elf-reloc-02.ll Thu Aug 4 09:27:46 2011
@@ -46,5 +46,5 @@
;; OBJ-NEXT: 'r_sym', 0x00000002
;; OBJ-NEXT: 'r_type', 0x0000002b
-;; OBJ: Symbol 0x00000002
+;; OBJ: Symbol 2
;; OBJ-NEXT: '.L.str'
Modified: llvm/trunk/test/MC/ARM/elf-reloc-03.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-reloc-03.ll?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-reloc-03.ll (original)
+++ llvm/trunk/test/MC/ARM/elf-reloc-03.ll Thu Aug 4 09:27:46 2011
@@ -93,5 +93,5 @@
;; OBJ-NEXT: 'r_sym', 0x0000000c
;; OBJ-NEXT: 'r_type', 0x0000002b
-;; OBJ: Symbol 0x0000000c
+;; OBJ: Symbol 12
;; OBJ-NEXT: 'vtable'
Modified: llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc.ll?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc.ll (original)
+++ llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc.ll Thu Aug 4 09:27:46 2011
@@ -32,6 +32,6 @@
; CHECK-NEXT: 'r_type', 0x0000000a
; make sure foo is thumb function: bit 0 = 1
-; CHECK: Symbol 0x00000007
+; CHECK: Symbol 7
; CHECK-NEXT: 'foo'
; CHECK-NEXT: 'st_value', 0x00000001
Modified: llvm/trunk/test/MC/ARM/elf-thumbfunc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-thumbfunc.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-thumbfunc.s (original)
+++ llvm/trunk/test/MC/ARM/elf-thumbfunc.s Thu Aug 4 09:27:46 2011
@@ -12,7 +12,7 @@
bx lr
@@ make sure foo is thumb function: bit 0 = 1 (st_value)
- at CHECK: Symbol 0x00000004
+ at CHECK: Symbol 4
@CHECK-NEXT: 'st_name', 0x00000001
@CHECK-NEXT: 'st_value', 0x00000001
@CHECK-NEXT: 'st_size', 0x00000000
Modified: llvm/trunk/test/MC/ELF/abs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/abs.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/abs.s (original)
+++ llvm/trunk/test/MC/ELF/abs.s Thu Aug 4 09:27:46 2011
@@ -6,7 +6,7 @@
.Lbar:
zed = .Lfoo - .Lbar
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'zed'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/alias-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/alias-reloc.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/alias-reloc.s (original)
+++ llvm/trunk/test/MC/ELF/alias-reloc.s Thu Aug 4 09:27:46 2011
@@ -31,7 +31,7 @@
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -41,7 +41,7 @@
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK: # Symbol 0x00000006
+// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x0000000e) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x00000002)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/alias.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/alias.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/alias.s (original)
+++ llvm/trunk/test/MC/ELF/alias.s Thu Aug 4 09:27:46 2011
@@ -16,7 +16,7 @@
bar4 = foo4
.long foo2
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -25,7 +25,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000002
+// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x0000001d) # 'bar4'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000002)
@@ -34,7 +34,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000003
+// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -43,7 +43,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000004
+// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x0000000e) # 'foo3'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -52,7 +52,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000005
+// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000018) # 'foo4'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000002)
@@ -61,13 +61,13 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000006
+// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000007
+// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000008
+// CHECK: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000009
+// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x00000013) # 'bar3'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -75,7 +75,7 @@
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
-// CHECK: # Symbol 0x0000000a
+// CHECK: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000009) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/comdat.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/comdat.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/comdat.s (original)
+++ llvm/trunk/test/MC/ELF/comdat.s Thu Aug 4 09:27:46 2011
@@ -42,7 +42,7 @@
// Test that g1 and g2 are local, but g3 is an undefined global.
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'g1'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -51,7 +51,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000002
+// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000004) # 'g2'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -61,7 +61,7 @@
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK: # Symbol 0x0000000d
+// CHECK: # Symbol 13
// CHECK-NEXT: (('st_name', 0x00000007) # 'g3'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/common.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/common.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/common.s (original)
+++ llvm/trunk/test/MC/ELF/common.s Thu Aug 4 09:27:46 2011
@@ -33,7 +33,7 @@
.local common6
.comm common6,8,16
-// CHECK: # Symbol 0x00000003
+// CHECK: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000011) # 'common6'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000001)
@@ -77,7 +77,7 @@
.comm common5,4,4
-// CHECK: # Symbol 0x00000009
+// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002d) # 'common5'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000001)
Modified: llvm/trunk/test/MC/ELF/file.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/file.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/file.s (original)
+++ llvm/trunk/test/MC/ELF/file.s Thu Aug 4 09:27:46 2011
@@ -4,7 +4,7 @@
.file "foo"
foa:
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000004)
@@ -13,7 +13,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000002
+// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000005) # 'foa'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/local-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/local-reloc.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/local-reloc.s (original)
+++ llvm/trunk/test/MC/ELF/local-reloc.s Thu Aug 4 09:27:46 2011
@@ -21,7 +21,7 @@
// CHECK-NEXT: ])
// Symbol number 2 is section number 1
-// CHECK: # Symbol 0x00000002
+// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
Modified: llvm/trunk/test/MC/ELF/merge.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/merge.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/merge.s (original)
+++ llvm/trunk/test/MC/ELF/merge.s Thu Aug 4 09:27:46 2011
@@ -77,15 +77,15 @@
// CHECK-NEXT: (('sh_name', 0x00000035) # '.sec1'
// Symbol number 1 is .Lfoo
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # '.Lfoo'
// Symbol number 2 is foo
-// CHECK: # Symbol 0x00000002
+// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000007) # 'foo'
// Symbol number 6 is section 5
-// CHECK: # Symbol 0x00000006
+// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -93,5 +93,5 @@
// CHECK-NEXT: ('st_shndx', 0x00000005)
// Symbol number 8 is zed
-// CHECK: # Symbol 0x00000008
+// CHECK: # Symbol 8
// CHECK-NEXT: (('st_name', 0x0000000b) # 'zed'
Modified: llvm/trunk/test/MC/ELF/noexec.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/noexec.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/noexec.s (original)
+++ llvm/trunk/test/MC/ELF/noexec.s Thu Aug 4 09:27:46 2011
@@ -13,7 +13,7 @@
// CHECK-NEXT: ('sh_entsize', 0x00000000)
// CHECK-NEXT: ),
-// CHECK: # Symbol 0x00000004
+// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
Modified: llvm/trunk/test/MC/ELF/pic-diff.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/pic-diff.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/pic-diff.s (original)
+++ llvm/trunk/test/MC/ELF/pic-diff.s Thu Aug 4 09:27:46 2011
@@ -9,7 +9,7 @@
// CHECK-NEXT: ),
// CHECK-NEXT: ])
-// CHECK: # Symbol 0x00000005
+// CHECK: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000005) # 'baz'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/pr9292.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/pr9292.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/pr9292.s (original)
+++ llvm/trunk/test/MC/ELF/pr9292.s Thu Aug 4 09:27:46 2011
@@ -15,7 +15,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000005
+// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/relax.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/relax.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/relax.s (original)
+++ llvm/trunk/test/MC/ELF/relax.s Thu Aug 4 09:27:46 2011
@@ -23,5 +23,5 @@
// CHECK-NEXT: ('sh_entsize', 0x00000000)
// CHECK-NEXT: ('_section_data', 'ebfeebfc ebfa')
-// CHECK: # Symbol 0x00000006
+// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000005) # 'foo'
Modified: llvm/trunk/test/MC/ELF/relocation-386.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/relocation-386.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/relocation-386.s (original)
+++ llvm/trunk/test/MC/ELF/relocation-386.s Thu Aug 4 09:27:46 2011
@@ -165,11 +165,11 @@
// CHECK: # Section 4
// CHECK-NEXT: (('sh_name', 0x0000000b) # '.bss'
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # '.Lfoo'
// Symbol 4 is zed
-// CHECK: # Symbol 0x00000004
+// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000035) # 'zed'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
@@ -179,7 +179,7 @@
// CHECK-NEXT: ('st_shndx', 0x00000005)
// Symbol 7 is section 4
-// CHECK: # Symbol 0x00000007
+// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/relocation.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/relocation.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/relocation.s (original)
+++ llvm/trunk/test/MC/ELF/relocation.s Thu Aug 4 09:27:46 2011
@@ -113,7 +113,7 @@
// CHECK-NEXT: ('r_type', 0x0000000b)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
-// CHECK: # Symbol 0x00000002
+// CHECK: # Symbol 2
// CHECK: (('st_name', 0x00000000) # ''
// CHECK: ('st_bind', 0x00000000)
// CHECK: ('st_type', 0x00000003)
Modified: llvm/trunk/test/MC/ELF/rename.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/rename.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/rename.s (original)
+++ llvm/trunk/test/MC/ELF/rename.s Thu Aug 4 09:27:46 2011
@@ -36,7 +36,7 @@
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// Symbol 2 is section 1
-// CHECK: # Symbol 0x00000002
+// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
Modified: llvm/trunk/test/MC/ELF/symref.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/symref.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/symref.s (original)
+++ llvm/trunk/test/MC/ELF/symref.s Thu Aug 4 09:27:46 2011
@@ -54,7 +54,7 @@
// CHECK-NEXT: ),
// CHECK-NEXT:])
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000013) # 'bar1 at zed'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -63,7 +63,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000002
+// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000025) # 'bar3@@zed'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -72,7 +72,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000003
+// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x0000002f) # 'bar5@@zed'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -81,7 +81,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000004
+// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000001) # 'defined1'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -90,7 +90,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000005
+// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x0000000a) # 'defined2'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -99,7 +99,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000006
+// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -108,7 +108,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000007
+// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -117,7 +117,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000008
+// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -126,7 +126,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000009
+// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000004a) # 'g1@@zed'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -135,7 +135,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000014)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000a
+// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000042) # 'global1'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -144,7 +144,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000014)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000b
+// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000001c) # 'bar2 at zed'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -153,7 +153,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000c
+// CHECK-NEXT: # Symbol 12
// CHECK-NEXT: (('st_name', 0x00000039) # 'bar6 at zed'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/tls-i386.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/tls-i386.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/tls-i386.s (original)
+++ llvm/trunk/test/MC/ELF/tls-i386.s Thu Aug 4 09:27:46 2011
@@ -18,7 +18,7 @@
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000006
+// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000006) # 'foo2'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
@@ -27,7 +27,7 @@
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000007
+// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x0000000b) # 'foo3'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
@@ -36,7 +36,7 @@
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000008
+// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000010) # 'foo4'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
@@ -45,7 +45,7 @@
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000009
+// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x00000015) # 'foo5'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
@@ -54,7 +54,7 @@
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000a
+// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x0000001a) # 'foo6'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
@@ -63,7 +63,7 @@
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000b
+// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000001f) # 'foo7'
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/tls.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/tls.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/tls.s (original)
+++ llvm/trunk/test/MC/ELF/tls.s Thu Aug 4 09:27:46 2011
@@ -19,7 +19,7 @@
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK: # Symbol 0x00000007
+// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo1'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000006)
@@ -28,7 +28,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000008
+// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000006) # 'foo2'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000006)
@@ -37,7 +37,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000009
+// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000000b) # 'foo3'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000006)
Modified: llvm/trunk/test/MC/ELF/type.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/type.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/type.s (original)
+++ llvm/trunk/test/MC/ELF/type.s Thu Aug 4 09:27:46 2011
@@ -12,7 +12,7 @@
// Test that gnu_unique_object is accepted.
.type zed, at gnu_unique_object
-// CHECK: # Symbol 0x00000004
+// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000001)
@@ -21,7 +21,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000005
+// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000002)
Modified: llvm/trunk/test/MC/ELF/undef.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/undef.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/undef.s (original)
+++ llvm/trunk/test/MC/ELF/undef.s Thu Aug 4 09:27:46 2011
@@ -20,21 +20,21 @@
movsd .Lsym8(%rip), %xmm1
// CHECK: ('_symbols', [
-// CHECK-NEXT: # Symbol 0x00000000
+// CHECK-NEXT: # Symbol 0
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000001
+// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x0000000d) # '.Lsym8'
-// CHECK: # Symbol 0x00000002
+// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000003
+// CHECK: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000004
+// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000005
+// CHECK: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000000) # ''
-// CHECK: # Symbol 0x00000006
+// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000001) # '.Lsym1'
-// CHECK: # Symbol 0x00000007
+// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000008) # 'sym6'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000001)
Modified: llvm/trunk/test/MC/ELF/weak.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weak.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weak.s (original)
+++ llvm/trunk/test/MC/ELF/weak.s Thu Aug 4 09:27:46 2011
@@ -9,7 +9,7 @@
.weak bar
bar:
-//CHECK: # Symbol 0x00000004
+//CHECK: # Symbol 4
//CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
//CHECK-NEXT: ('st_bind', 0x00000002)
//CHECK-NEXT: ('st_type', 0x00000000)
@@ -18,7 +18,7 @@
//CHECK-NEXT: ('st_value', 0x0000000000000004)
//CHECK-NEXT: ('st_size', 0x0000000000000000)
//CHECK-NEXT: ),
-//CHECK-NEXT: # Symbol 0x00000005
+//CHECK-NEXT: # Symbol 5
//CHECK: (('st_name', 0x00000001) # 'foo'
//CHECK-NEXT: ('st_bind', 0x00000002)
//CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/weakref-plt.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weakref-plt.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weakref-plt.s (original)
+++ llvm/trunk/test/MC/ELF/weakref-plt.s Thu Aug 4 09:27:46 2011
@@ -3,6 +3,6 @@
.weakref bar,foo
call bar at PLT
-// CHECK: # Symbol 0x00000005
+// CHECK: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x00000002)
Modified: llvm/trunk/test/MC/ELF/weakref-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weakref-reloc.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weakref-reloc.s (original)
+++ llvm/trunk/test/MC/ELF/weakref-reloc.s Thu Aug 4 09:27:46 2011
@@ -20,7 +20,7 @@
// CHECK-NEXT: ('r_addend', 0xfffffffffffffffc)
// CHECK-NEXT: ),
-// CHECK: # Symbol 0x00000004
+// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000009) # '_GLOBAL_OFFSET_TABLE_'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -29,7 +29,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000005
+// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x00000002)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -38,7 +38,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000006
+// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000005) # 'zed'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/MC/ELF/weakref.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weakref.s?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weakref.s (original)
+++ llvm/trunk/test/MC/ELF/weakref.s Thu Aug 4 09:27:46 2011
@@ -69,7 +69,7 @@
.long bar15
.long foo15
-// CHECK: # Symbol 0x00000000
+// CHECK: # Symbol 0
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -78,7 +78,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000001
+// CHECK-NEXT: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000015) # 'bar6'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -87,7 +87,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000018)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000002
+// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x0000001a) # 'bar7'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -96,7 +96,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000018)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000003
+// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x0000001f) # 'bar8'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -105,7 +105,7 @@
// CHECK-NEXT: ('st_value', 0x000000000000001c)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000004
+// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000024) # 'bar9'
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -114,7 +114,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000020)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000005
+// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -123,7 +123,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000006
+// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -132,7 +132,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000007
+// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x00000000)
// CHECK-NEXT: ('st_type', 0x00000003)
@@ -141,7 +141,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000008
+// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000029) # 'bar10'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -150,7 +150,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000028)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000009
+// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002f) # 'bar11'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -159,7 +159,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000030)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000a
+// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000035) # 'bar12'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -168,7 +168,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000030)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000b
+// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000003b) # 'bar13'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -177,7 +177,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000034)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000c
+// CHECK-NEXT: # Symbol 12
// CHECK-NEXT: (('st_name', 0x00000041) # 'bar14'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -186,7 +186,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000038)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000d
+// CHECK-NEXT: # Symbol 13
// CHECK-NEXT: (('st_name', 0x00000047) # 'bar15'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -195,7 +195,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000040)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000e
+// CHECK-NEXT: # Symbol 14
// CHECK-NEXT: (('st_name', 0x00000001) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -204,7 +204,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x0000000f
+// CHECK-NEXT: # Symbol 15
// CHECK-NEXT: (('st_name', 0x00000006) # 'bar3'
// CHECK-NEXT: ('st_bind', 0x00000002)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -213,7 +213,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000010
+// CHECK-NEXT: # Symbol 16
// CHECK-NEXT: (('st_name', 0x0000000b) # 'bar4'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
@@ -222,7 +222,7 @@
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_size', 0x0000000000000000)
// CHECK-NEXT: ),
-// CHECK-NEXT: # Symbol 0x00000011
+// CHECK-NEXT: # Symbol 17
// CHECK-NEXT: (('st_name', 0x00000010) # 'bar5'
// CHECK-NEXT: ('st_bind', 0x00000001)
// CHECK-NEXT: ('st_type', 0x00000000)
Modified: llvm/trunk/test/Scripts/elf-dump
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/elf-dump?rev=136871&r1=136870&r2=136871&view=diff
==============================================================================
--- llvm/trunk/test/Scripts/elf-dump (original)
+++ llvm/trunk/test/Scripts/elf-dump Thu Aug 4 09:27:46 2011
@@ -97,7 +97,7 @@
for index in range(entries):
f.seek(section.sh_offset + index * section.sh_entsize)
- print " # Symbol %s" % common_dump.HexDump(index)
+ print " # Symbol %s" % index
name = f.read32()
print " (('st_name', %s)" % common_dump.HexDump(name), "# %r" % strtab[name]
if not f.is64Bit:
More information about the llvm-commits
mailing list