summaryrefslogtreecommitdiff
path: root/test/Scripts
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-04 14:27:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-04 14:27:46 +0000
commit65ad8dc807174b53615181a8170befdf60b6771d (patch)
treeb56f3debe58d0baa698c04dcb6a33539b6c57f6a /test/Scripts
parentf7179de2a5c127d08e6d24e507abec516f2fc597 (diff)
downloadllvm-65ad8dc807174b53615181a8170befdf60b6771d.tar.gz
llvm-65ad8dc807174b53615181a8170befdf60b6771d.tar.bz2
llvm-65ad8dc807174b53615181a8170befdf60b6771d.tar.xz
Another counter goes decimal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts')
-rwxr-xr-xtest/Scripts/elf-dump2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scripts/elf-dump b/test/Scripts/elf-dump
index d3fad34772..f116e3a0aa 100755
--- a/test/Scripts/elf-dump
+++ b/test/Scripts/elf-dump
@@ -97,7 +97,7 @@ def dumpSymtab(f, section, strtab):
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: