summaryrefslogtreecommitdiff
path: root/test/Scripts
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-04 14:01:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-04 14:01:03 +0000
commitf7179de2a5c127d08e6d24e507abec516f2fc597 (patch)
tree101ffa08bc5588378d0d36801e00f6d7968c2bb9 /test/Scripts
parent014180d387a875f7e04fd3532eab24dd0794db08 (diff)
downloadllvm-f7179de2a5c127d08e6d24e507abec516f2fc597.tar.gz
llvm-f7179de2a5c127d08e6d24e507abec516f2fc597.tar.bz2
llvm-f7179de2a5c127d08e6d24e507abec516f2fc597.tar.xz
Change anther counter to decimal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136870 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 9794bfd9d8..d3fad34772 100755
--- a/test/Scripts/elf-dump
+++ b/test/Scripts/elf-dump
@@ -118,7 +118,7 @@ def dumpRel(f, section, dumprela = False):
for index in range(entries):
f.seek(section.sh_offset + index * section.sh_entsize)
- print " # Relocation %s" % common_dump.HexDump(index)
+ print " # Relocation %s" % index
print " (('r_offset', %s)" % common_dump.HexDump(f.readWord())
r_info = f.readWord()
if f.is64Bit: