Home | History | Annotate | Download | only in X86
      1 # RUN: rm -rf %t && mkdir -p %t
      2 # RUN: llvm-mc -triple=x86_64-unknown-freebsd -filetype=obj -o %t/testsmall_x86-64.o %s
      3 # RUN: llvm-rtdyld -triple=x86_64-unknown-freebsd -verify -check=%s %t/testsmall_x86-64.o
      4 
      5 	.globl	foo
      6 	.align	4, 0x90
      7 foo:
      8         retq
      9 
     10 	.globl	main
     11 	.align	4, 0x90
     12 main:
     13 # Test PC-rel branch.
     14 # rtdyld-check: decode_operand(insn1, 0) = foo - next_pc(insn1)
     15 insn1:
     16         callq	foo
     17