1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/MachO/alias.s
Evgeniy Stepanov 4ff3fd8e9b [MachO] Fix codegen of alias of alias.
Fixes PR33316.

llvm-svn: 305012
2017-06-08 20:49:03 +00:00

13 lines
302 B
ArmAsm

// RUN: llvm-mc -triple x86_64-apple-macosx10.12.0 %s -filetype=obj | llvm-readobj -r | FileCheck %s
l_a:
l_b = l_a
l_c = l_b
.long l_c
// CHECK: Relocations [
// CHECK-NEXT: Section __text {
// CHECK-NEXT: 0x0 0 2 1 X86_64_RELOC_UNSIGNED 0 l_c
// CHECK-NEXT: }
// CHECK-NEXT: ]