1// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | macho-dump | FileCheck %s 2 3// rdar://9906375 4.org 0x100 5_foo: 6_bar = _foo + 2 7_baz: 8 leaq _bar(%rip), %rcx 9 10// CHECK: ('_relocations', [ 11// CHECK-NEXT: # Relocation 0 12// CHECK-NEXT: (('word-0', 0x103), 13// CHECK-NEXT: ('word-1', 0x1d000001)) 14 15// CHECK: # Symbol 1 16// CHECK-NEXT: (('n_strx', 6) 17// CHECK-NEXT: ('n_type', 0xe) 18// CHECK-NEXT: ('n_sect', 1) 19// CHECK-NEXT: ('n_desc', 0) 20// CHECK-NEXT: ('n_value', 258) 21// CHECK-NEXT: ('_string', '_bar') 22