[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / relocated-mapping.s
blob3bed14c4520ad0724b97c246e581c538d17118a6
1 @ RUN: llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
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
9 @ CHECK: 00000000 .text 00000000 $a
10 @ CHECK-NEXT: 00000008 .text 00000000 $a
11 @ CHECK-NEXT: 00000004 .text 00000000 $d