Changeset View
Changeset View
Standalone View
Standalone View
test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s
# RUN: llvm-mc -triple=armv7s-apple-ios7.0.0 -filetype=obj -o %T/foo.o %s | # RUN: rm -rf %t && mkdir -p %t | ||||
# RUN: llvm-rtdyld -triple=armv7s-apple-ios7.0.0 -verify -check=%s %/T/foo.o | # RUN: llvm-mc -triple=armv7s-apple-ios7.0.0 -filetype=obj -o %t/foo.o %s | ||||
# RUN: llvm-rtdyld -triple=armv7s-apple-ios7.0.0 -verify -check=%s %t/foo.o | |||||
.syntax unified | .syntax unified | ||||
.section __TEXT,__text,regular,pure_instructions | .section __TEXT,__text,regular,pure_instructions | ||||
.globl bar | .globl bar | ||||
.align 2 | .align 2 | ||||
bar: | bar: | ||||
# Check lower 16-bits of section difference relocation | # Check lower 16-bits of section difference relocation | ||||
# rtdyld-check: decode_operand(insn1, 1) = (foo$non_lazy_ptr-(nextPC+8))[15:0] | # rtdyld-check: decode_operand(insn1, 1) = (foo$non_lazy_ptr-(nextPC+8))[15:0] | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |