brintos

brintos / llvm-project-archived public Read only

0
0
Text · 648 B · f0f45a9 Raw
26 lines · plain
1# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t.o %s2# RUN: llvm-jitlink -noexec %t.o3#4# Check that the mere presence of initializers doesn't cause failures.5# (Initializers would not be run, even if -noexec were absent, since we're6# not loading the ORC runtime in this test)7 8        .section	__TEXT,__text,regular,pure_instructions9	.macosx_version_min 10, 14	sdk_version 10, 1510 11        .globl  _main12_main:13        retq14 15        .section	__TEXT,__StaticInit,regular,pure_instructions16	.p2align	4, 0x9017_foo:18        retq19 20 21	.section	__DATA,__mod_init_func,mod_init_funcs22	.p2align	323	.quad   _foo24 25.subsections_via_symbols26