llvm-for-llvmta/test/ExecutionEngine/JITLink/X86/MachO_zero_fill_alignment.s

15 lines
463 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t/macho_zero_fill_align.o %s
# RUN: llvm-jitlink -noexec %t/macho_zero_fill_align.o -entry _higher_zero_fill_align
.section __DATA,__data
.globl _low_aligned_data
.p2align 0
_low_aligned_data:
.byte 42
.globl _higher_zero_fill_align
.zerofill __DATA,__zero_fill,_higher_zero_fill_align,8,3
.subsections_via_symbols