166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | macho-dump | FileCheck %s 266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://9906375 466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman.org 0x100 566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman_foo: 666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman_bar = _foo + 2 766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman_baz: 866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman leaq _bar(%rip), %rcx 966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 1066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ('_relocations', [ 1166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: # Relocation 0 1266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: (('word-0', 0x103), 1366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: ('word-1', 0x1d000001)) 1466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 1566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: # Symbol 1 1666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: (('n_strx', 6) 1766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: ('n_type', 0xe) 1866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: ('n_sect', 1) 1966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: ('n_desc', 0) 2066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: ('n_value', 258) 2166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK-NEXT: ('_string', '_bar') 22