summaryrefslogtreecommitdiff
path: root/test/Scripts
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2010-12-20 20:49:43 +0000
committerRoman Divacky <rdivacky@freebsd.org>2010-12-20 20:49:43 +0000
commit1ae3c165f7f6dd265f136d975f255c18de53a960 (patch)
tree9de1b6c6e06c22b93b6e435ee6a6e534b9576a79 /test/Scripts
parent9c0068f0a38597a5914b69a5e1b5a949027a5464 (diff)
downloadllvm-1ae3c165f7f6dd265f136d975f255c18de53a960.tar.gz
llvm-1ae3c165f7f6dd265f136d975f255c18de53a960.tar.bz2
llvm-1ae3c165f7f6dd265f136d975f255c18de53a960.tar.xz
Print all 64bits for st_value and st_size. Adjust tests accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts')
-rwxr-xr-xtest/Scripts/elf-dump4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Scripts/elf-dump b/test/Scripts/elf-dump
index 2d470c8c8f..76cdbf91c7 100755
--- a/test/Scripts/elf-dump
+++ b/test/Scripts/elf-dump
@@ -121,8 +121,8 @@ def dumpSymtab(f, section, strtab):
print " ('st_other', %s)" % common_dump.HexDump(f.read8())
print " ('st_shndx', %s)" % common_dump.HexDump(f.read16())
if f.is64Bit:
- print " ('st_value', %s)" % common_dump.HexDump(f.read64())
- print " ('st_size', %s)" % common_dump.HexDump(f.read64())
+ print " ('st_value', %s)" % common_dump.HexDump(f.read64(), 64)
+ print " ('st_size', %s)" % common_dump.HexDump(f.read64(), 64)
print " ),"
def dumpRel(f, section, dumprela = False):