brintos

brintos / llvm-project-archived public Read only

0
0
Text · 923 B · 21c19cb Raw
23 lines · plain
1# RUN: rm -rf %t && mkdir -p %t2# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj \3# RUN:   -o %t/global_lp_def.o %S/Inputs/MachO_global_linker_private_def.s4# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj \5# RUN:   -o %t/internal_lp_def.o %S/Inputs/MachO_internal_linker_private_def.s6# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj \7# RUN:   -o %t/macho_lp_test.o %s8# RUN: llvm-jitlink -noexec %t/global_lp_def.o %t/macho_lp_test.o9# RUN: not llvm-jitlink -noexec %t/internal_lp_def.o %t/macho_lp_test.o10#11# Check that we can resolve global symbols whose names start with the12# linker-private prefix 'l' across object boundaries, and that we can't resolve13# internals with the linker-private prefix across object boundaries.14 15	.section	__TEXT,__text,regular,pure_instructions16	.macosx_version_min 10, 1417	.globl	_main18	.p2align	4, 0x9019_main:20	jmp	l_foo21 22.subsections_via_symbols23