1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

llvm-mc: Fix tests for python variations in int printing, sigh.

llvm-svn: 80069
This commit is contained in:
Daniel Dunbar 2009-08-26 04:28:45 +00:00
parent 52948143d2
commit bcea5b0d3e
2 changed files with 11 additions and 11 deletions

View File

@ -244,25 +244,25 @@ sym_nlp_G:
// CHECK: ('nlocrel', 0)
// CHECK: ('_indirect_symbols', [
// CHECK: # Indirect Symbol 0
// CHECK: (('symbol_index', 5),),
// CHECK: (('symbol_index', 0x5),),
// CHECK: # Indirect Symbol 1
// CHECK: (('symbol_index', 4),),
// CHECK: (('symbol_index', 0x4),),
// CHECK: # Indirect Symbol 2
// CHECK: (('symbol_index', 0),),
// CHECK: (('symbol_index', 0x0),),
// CHECK: # Indirect Symbol 3
// CHECK: (('symbol_index', 6),),
// CHECK: (('symbol_index', 0x6),),
// CHECK: # Indirect Symbol 4
// CHECK: (('symbol_index', 2),),
// CHECK: (('symbol_index', 0x2),),
// CHECK: # Indirect Symbol 5
// CHECK: (('symbol_index', 8),),
// CHECK: (('symbol_index', 0x8),),
// CHECK: # Indirect Symbol 6
// CHECK: (('symbol_index', 7),),
// CHECK: (('symbol_index', 0x7),),
// CHECK: # Indirect Symbol 7
// CHECK: (('symbol_index', 2147483648),),
// CHECK: (('symbol_index', 0x80000000),),
// CHECK: # Indirect Symbol 8
// CHECK: (('symbol_index', 9),),
// CHECK: (('symbol_index', 0x9),),
// CHECK: # Indirect Symbol 9
// CHECK: (('symbol_index', 3),),
// CHECK: (('symbol_index', 0x3),),
// CHECK: ])
// CHECK: ),
// CHECK: ])

View File

@ -198,7 +198,7 @@ def dumpDysymtabCommand(f, opts):
print " ('_indirect_symbols', ["
for i in range(nindirectsyms):
print " # Indirect Symbol %r" % i
print " (('symbol_index', %r),)," % f.read32()
print " (('symbol_index', %#x),)," % f.read32()
print " ])"
f.seek(prev_pos)