# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %S/Inputs/x86-64_self_relocation.s # RUN: llvm-jitlink -noexec -show-graph %t 2>&1 | \ # RUN: FileCheck -check-prefix=WITHOUT %s # RUN: llvm-jitlink -noexec -show-graph -add-self-relocations %t 2>&1 | \ # RUN: FileCheck -check-prefix=CHECK %s # WITHOUT: block # WITHOUT-NEXT: symbols # WITHOUT-NEXT: _form_func_ptr # WITHOUT-NEXT: edges # WITHOUT-NEXT: (block + 0x0000000a), addend = -0x00000004, kind = Delta32, target = _other # WITHOUT-NOT: kind = # CHECK: block # CHECK-NEXT: symbols # CHECK-NEXT: _form_func_ptr # CHECK-NEXT: edges # CHECK-NEXT: (block + 0x00000003), addend = -0x00000004, kind = Delta32, target = _form_func_ptr # CHECK-NEXT: (block + 0x0000000a), addend = -0x00000004, kind = Delta32, target = _other # CHECK-NEXT: (block + 0x00000011), addend = -0x00000004, kind = Delta32, target = _form_func_ptr # CHECK-NEXT: (block + 0x00000019), addend = -0x00000004, kind = Delta32, target = _form_func_ptr # CHECK-NOT: kind = # WITHOUT: block # WITHOUT-NEXT: symbols # WITHOUT-NEXT: _other # WITHOUT-NEXT: edges # WITHOUT-NEXT: kind = Delta32, target = _form_func_ptr # CHECK: block # CHECK-NEXT: symbols # CHECK-NEXT: _other # CHECK-NEXT: edges # CHECK-NEXT: kind = Delta32, target = _form_func_ptr