Home | History | Annotate | Download | only in X86
      1 # RUN: llvm-mc -triple=x86_64-apple-macosx10.10.0 -filetype=obj -o %T/test_ELF_x86_64_StubBuf.o %s
      2 # RUN: llvm-rtdyld -print-alloc-requests -triple=x86_64-pc-linux -dummy-extern _g=196608 -verify %T/test_ELF_x86_64_StubBuf.o
      3 
      4 # Compiled from Inputs/ELF/ELF_x86_64_StubBuf.ll
      5 
      6 # CHECK: allocateCodeSection(Size = 42, Alignment = 16, SectionName = __text)
      7 
      8 	.section	__TEXT,__text,regular,pure_instructions
      9 	.macosx_version_min 10, 10
     10 	.globl	_f
     11 	.align	4, 0x90
     12 _f:                                     ## @f
     13 	.cfi_startproc
     14 ## BB#0:                                ## %entry
     15 	pushq	%rax
     16 Ltmp0:
     17 	.cfi_def_cfa_offset 16
     18 	callq	_g
     19 	callq	_g
     20 	callq	_g
     21 	popq	%rax
     22 	retq
     23 	.cfi_endproc
     24 
     25 
     26 .subsections_via_symbols
     27