1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
3 // FIXME: This is a horrible way of checking the output, we need an llvm-mc
6 // llvm-mc -filetype=obj -o $f.mc.o $f.s &&
7 // as -arch i386 -o $f.as.o $f.s &&
8 // otool -tvr $f.mc.o | tail +2 > $f.mc.dump &&
9 // otool -tvr $f.as.o | tail +2 > $f.as.dump &&
10 // diff $f.{as,mc}.dump)
11 // to examine the results in a more sensible fashion.
13 // CHECK: ('_section_data', '\x90
14 // CHECK: \x0f\x842\xff\xff\xff\x0f\x82\xe6\x00\x00\x00\x0f\x87&\xff\xff\xff\x0f\x8f\xda\x00\x00\x00\x0f\x88\x1a\xff\xff\xff\x0f\x83\xce\x00\x00\x00\x0f\x89\x0e\xff\xff\xff\x90