Changeset View
Changeset View
Standalone View
Standalone View
test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s
# RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -code-model=small -filetype=obj -o %T/foo.o %s | # RUN: rm -rf %t && mkdir -p %t | ||||
# RUN: llvm-rtdyld -triple=arm64-apple-ios7.0.0 -map-section foo.o,__text=0x10bc0 -verify -check=%s %/T/foo.o | # RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -code-model=small -filetype=obj -o %t/foo.o %s | ||||
# RUN: llvm-rtdyld -triple=arm64-apple-ios7.0.0 -map-section foo.o,__text=0x10bc0 -verify -check=%s %t/foo.o | |||||
.section __TEXT,__text,regular,pure_instructions | .section __TEXT,__text,regular,pure_instructions | ||||
.ios_version_min 7, 0 | .ios_version_min 7, 0 | ||||
.globl _foo | .globl _foo | ||||
.align 2 | .align 2 | ||||
_foo: | _foo: | ||||
movz w0, #0 | movz w0, #0 | ||||
ret | ret | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |