[llvm-commits] [llvm] r80069 - in /llvm/trunk/test: MC/MachO/symbol-indirect.s Scripts/macho-dump
Daniel Dunbar
daniel at zuster.org
Tue Aug 25 21:28:45 PDT 2009
Author: ddunbar
Date: Tue Aug 25 23:28:45 2009
New Revision: 80069
URL: http://llvm.org/viewvc/llvm-project?rev=80069&view=rev
Log:
llvm-mc: Fix tests for python variations in int printing, sigh.
Modified:
llvm/trunk/test/MC/MachO/symbol-indirect.s
llvm/trunk/test/Scripts/macho-dump
Modified: llvm/trunk/test/MC/MachO/symbol-indirect.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/symbol-indirect.s?rev=80069&r1=80068&r2=80069&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/symbol-indirect.s (original)
+++ llvm/trunk/test/MC/MachO/symbol-indirect.s Tue Aug 25 23:28:45 2009
@@ -244,25 +244,25 @@
// 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: ])
Modified: llvm/trunk/test/Scripts/macho-dump
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/macho-dump?rev=80069&r1=80068&r2=80069&view=diff
==============================================================================
--- llvm/trunk/test/Scripts/macho-dump (original)
+++ llvm/trunk/test/Scripts/macho-dump Tue Aug 25 23:28:45 2009
@@ -198,7 +198,7 @@
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)
More information about the llvm-commits
mailing list