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', '90
14 // CHECK: 0f8432ff ffff0f82 e6000000 0f8726ff ffff0f8f da000000 0f881aff ffff0f83 ce000000 0f890eff ffff90