[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / X86 / MachO_linker_private_symbols.s
blob21c19cb003b5cd88fef2c210418f0c9b1392cef9
1 # RUN: rm -rf %t && mkdir -p %t
2 # 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.s
4 # 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.s
6 # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj \
7 # RUN: -o %t/macho_lp_test.o %s
8 # RUN: llvm-jitlink -noexec %t/global_lp_def.o %t/macho_lp_test.o
9 # RUN: not llvm-jitlink -noexec %t/internal_lp_def.o %t/macho_lp_test.o
11 # Check that we can resolve global symbols whose names start with the
12 # linker-private prefix 'l' across object boundaries, and that we can't resolve
13 # internals with the linker-private prefix across object boundaries.
15 .section __TEXT,__text,regular,pure_instructions
16 .macosx_version_min 10, 14
17 .globl _main
18 .p2align 4, 0x90
19 _main:
20 jmp l_foo
22 .subsections_via_symbols