Use llvm-mc instead of llc. Patch by Jack Carter.
[oota-llvm.git] / test / MC / Mips / elf_basic.s
1 // RUN: llvm-mc -filetype=obj -triple mips-unknown-linux %s -o - | elf-dump --dump-section-data  | FileCheck -check-prefix=CHECK-BE %s
2 // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | elf-dump --dump-section-data  | FileCheck -check-prefix=CHECK-LE %s
3
4 // Check that we produce the correct endian.
5
6 // CHECK-BE: ('e_indent[EI_DATA]', 0x02)
7 // CHECK-LE: ('e_indent[EI_DATA]', 0x01)