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