diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-04 15:24:00 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-04 15:24:00 +0000 |
commit | 71a8f5ca12e8536e6050cc7a09fa2a87ea629cfa (patch) | |
tree | db03475bd85580c0f58747ced03a30c9742a4e4a /test/Scripts | |
parent | d7c278326f333f41d8ec8d19f817a117e3f11190 (diff) | |
download | external_llvm-71a8f5ca12e8536e6050cc7a09fa2a87ea629cfa.zip external_llvm-71a8f5ca12e8536e6050cc7a09fa2a87ea629cfa.tar.gz external_llvm-71a8f5ca12e8536e6050cc7a09fa2a87ea629cfa.tar.bz2 |
print st_type with the correct number of bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts')
-rwxr-xr-x | test/Scripts/elf-dump | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scripts/elf-dump b/test/Scripts/elf-dump index a94079c..d335e69 100755 --- a/test/Scripts/elf-dump +++ b/test/Scripts/elf-dump @@ -107,7 +107,7 @@ def dumpSymtab(f, section, strtab): st_bind = (st_info >> 4, 4) st_type = (st_info & 0xf, 4) print " ('st_bind', %s)" % common_dump.HexDump(st_bind[0], st_bind[1]) - print " ('st_type', %s)" % common_dump.HexDump(st_type[0], 32) + print " ('st_type', %s)" % common_dump.HexDump(st_type[0], st_type[1]) print " ('st_other', %s)" % common_dump.HexDump(f.read8()) print " ('st_shndx', %s)" % common_dump.HexDump(f.read16()) if f.is64Bit: |