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 | 96df560ce1224abca26d3a7785de63766f40a01a (patch) | |
tree | b41e30a2d4ec12ec91c4977631af0e46eefb809b /llvm/test/Scripts | |
parent | 79ef75dc490462b091a6c8c9fde8788669cb6665 (diff) | |
download | bcm5719-llvm-96df560ce1224abca26d3a7785de63766f40a01a.tar.gz bcm5719-llvm-96df560ce1224abca26d3a7785de63766f40a01a.zip |
print st_type with the correct number of bits.
llvm-svn: 136875
Diffstat (limited to 'llvm/test/Scripts')
-rwxr-xr-x | llvm/test/Scripts/elf-dump | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Scripts/elf-dump b/llvm/test/Scripts/elf-dump index a94079c5241..d335e69b437 100755 --- a/llvm/test/Scripts/elf-dump +++ b/llvm/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: |