brintos

brintos / llvm-project-archived public Read only

0
0
Text · 621 B · 6578539 Raw
26 lines · plain
1# RUN: yaml2obj -o %t.libfoo.dylib %S/Inputs/libFooUniversalDylib.yaml2# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj \3# RUN:     -o %t.MachO_foo-in-weak-dylib.o %s4# RUN: llvm-jitlink -noexec %t.MachO_foo-in-weak-dylib.o \5# RUN:     -weak_library %t.libfoo.dylib6#7# Check that -weak_library supports universal binaries.8 9	.section	__TEXT,__text,regular,pure_instructions10	.build_version macos, 15, 0	sdk_version 15, 411	.globl	_main12	.p2align	4, 0x9013_main:14	pushq	%rbp15	movq	%rsp, %rbp16	cmpl	$101, %edi17	jl	LBB0_118	popq	%rbp19	jmp	_foo20LBB0_1:21	xorl	%eax, %eax22	popq	%rbp23	retq24 25.subsections_via_symbols26