27 lines · plain
1# RUN: llvm-mc -triple=x86_64-apple-macosx10.10.0 -filetype=obj -o %t %s2# RUN: llvm-rtdyld -print-alloc-requests -triple=x86_64-pc-linux -dummy-extern _g=196608 -verify %t3 4# Compiled from Inputs/ELF/ELF_x86_64_StubBuf.ll5 6# CHECK: allocateCodeSection(Size = 42, Alignment = 16, SectionName = __text)7 8 .section __TEXT,__text,regular,pure_instructions9 .macosx_version_min 10, 1010 .globl _f11 .align 4, 0x9012_f: ## @f13 .cfi_startproc14## %bb.0: ## %entry15 pushq %rax16Ltmp0:17 .cfi_def_cfa_offset 1618 callq _g19 callq _g20 callq _g21 popq %rax22 retq23 .cfi_endproc24 25 26.subsections_via_symbols27