mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
12 lines
440 B
ArmAsm
12 lines
440 B
ArmAsm
|
@ RUN: llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
|
||
|
|
||
|
@ Implementation-detail test (unfortunately): values that are relocated do not
|
||
|
@ go via MCStreamer::EmitBytes; make sure they still emit a mapping symbol.
|
||
|
add r0, r0, r0
|
||
|
.word somewhere
|
||
|
add r0, r0, r0
|
||
|
|
||
|
@ CHECK: 00000000 .text 00000000 $a
|
||
|
@ CHECK-NEXT: 00000008 .text 00000000 $a
|
||
|
@ CHECK-NEXT: 00000004 .text 00000000 $d
|