Replace coff-/elf-dump with llvm-readobj
[oota-llvm.git] / test / MC / ARM / relocated-mapping.s
1 @ RUN: llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
2
3 @ Implementation-detail test (unfortunately): values that are relocated do not
4 @ go via MCStreamer::EmitBytes; make sure they still emit a mapping symbol.
5         add r0, r0, r0
6         .word somewhere
7         add r0, r0, r0
8
9 @ CHECK: 00000000 .text 00000000 $a
10 @ CHECK-NEXT: 00000008 .text 00000000 $a
11 @ CHECK-NEXT: 00000004 .text 00000000 $d