[MC] Convert another bunch of tests from macho-dump to llvm-readobj.
[oota-llvm.git] / test / MC / MachO / ARM / nop-thumb2-padding.s
index a8aa3a1168efe94f7201ce07665c7742f5fdff90..a986ff17f2aae5ae1e0b5a2f98c1fc5dd0a3ee63 100644 (file)
@@ -1,5 +1,5 @@
 @ RUN: llvm-mc -triple armv7-apple-darwin %s -filetype=obj -o %t.obj
-@ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
+@ RUN: llvm-readobj -s -sd < %t.obj > %t.dump
 @ RUN: FileCheck %s < %t.dump
 
 .thumb_func x
@@ -9,4 +9,7 @@ x:
       .align 4
       adds r0, r1, r2
 
-@ CHECK: ('_section_data', '881800bf 00bf00bf 00bf00bf 00bf00bf 8818')
+@ CHECK:  SectionData (
+@ CHECK:    0000: 881800BF 00BF00BF 00BF00BF 00BF00BF  |................|
+@ CHECK:    0010: 8818                                 |..|
+@ CHECK:  )