summaryrefslogtreecommitdiff
path: root/test/MC/MachO/tlv-reloc.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-09-11 15:25:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-09-11 15:25:58 +0000
commit228290c0d181b663f33680aea03e10843da5f907 (patch)
tree45fbc0aa476cc3a0bfa9414c912db2743e83d042 /test/MC/MachO/tlv-reloc.s
parent26c5663283f89f1624304723ebe8c25d253463a3 (diff)
downloadllvm-228290c0d181b663f33680aea03e10843da5f907.tar.gz
llvm-228290c0d181b663f33680aea03e10843da5f907.tar.bz2
llvm-228290c0d181b663f33680aea03e10843da5f907.tar.xz
Change section_data dumping to print hex numbers instead of using
python's %r. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/MachO/tlv-reloc.s')
-rw-r--r--test/MC/MachO/tlv-reloc.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MC/MachO/tlv-reloc.s b/test/MC/MachO/tlv-reloc.s
index 04fc7aeda5..1fa5738463 100644
--- a/test/MC/MachO/tlv-reloc.s
+++ b/test/MC/MachO/tlv-reloc.s
@@ -61,7 +61,7 @@ _foo:
// CHECK: (('word-0', 0x3),
// CHECK: ('word-1', 0x9d000001)),
// CHECK: ])
-// CHECK: ('_section_data', 'H\x8b=\x00\x00\x00\x00\xff\x17\xc3')
+// CHECK: ('_section_data', '488b3d00 000000ff 17c3')
// CHECK: # Section 1
// CHECK: (('section_name', '__thread_data\x00\x00\x00')
// CHECK: ('segment_name', '__DATA\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
@@ -78,7 +78,7 @@ _foo:
// CHECK: ),
// CHECK: ('_relocations', [
// CHECK: ])
-// CHECK: ('_section_data', '\x04\x00\x00\x00')
+// CHECK: ('_section_data', '04000000')
// CHECK: # Section 2
// CHECK: (('section_name', '__thread_vars\x00\x00\x00')
// CHECK: ('segment_name', '__DATA\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
@@ -101,7 +101,7 @@ _foo:
// CHECK: (('word-0', 0x0),
// CHECK: ('word-1', 0xe000003)),
// CHECK: ])
-// CHECK: ('_section_data', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
+// CHECK: ('_section_data', '00000000 00000000 00000000 00000000 00000000 00000000')
// CHECK: ])
// CHECK: ),
// CHECK: # Load Command 1