mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 03:28:31 +00:00
0d46ccfc5c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137414 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
571 B
ArmAsm
22 lines
571 B
ArmAsm
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | macho-dump | FileCheck %s
|
|
|
|
// rdar://9906375
|
|
.org 0x100
|
|
_foo:
|
|
_bar = _foo + 2
|
|
_baz:
|
|
leaq _bar(%rip), %rcx
|
|
|
|
// CHECK: ('_relocations', [
|
|
// CHECK-NEXT: # Relocation 0
|
|
// CHECK-NEXT: (('word-0', 0x103),
|
|
// CHECK-NEXT: ('word-1', 0x1d000001))
|
|
|
|
// CHECK: # Symbol 1
|
|
// CHECK-NEXT: (('n_strx', 6)
|
|
// CHECK-NEXT: ('n_type', 0xe)
|
|
// CHECK-NEXT: ('n_sect', 1)
|
|
// CHECK-NEXT: ('n_desc', 0)
|
|
// CHECK-NEXT: ('n_value', 258)
|
|
// CHECK-NEXT: ('_string', '_bar')
|