annotate test/MC/MachO/alias.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 // RUN: llvm-mc -triple x86_64-apple-macosx10.12.0 %s -filetype=obj | llvm-readobj -r | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 l_a:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 l_b = l_a
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 l_c = l_b
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 .long l_c
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 // CHECK: Relocations [
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 // CHECK-NEXT: Section __text {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 // CHECK-NEXT: 0x0 0 2 1 X86_64_RELOC_UNSIGNED 0 l_c
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 // CHECK-NEXT: }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 // CHECK-NEXT: ]