brintos

brintos / llvm-project-archived public Read only

0
0
Text · 774 B · 26c91bd Raw
24 lines · plain
1# REQUIRES: aarch642# RUN: rm -rf %t; split-file %s %t3 4# RUN: llvm-mc -filetype=obj -triple=arm64_32-apple-watchos %t/arm64-32-dtrace.s -o %t/arm64-32-dtrace.o5# RUN: %lld-watchos -arch arm64_32 -o %t/arm64-32-dtrace %t/arm64-32-dtrace.o6 7## If references of dtrace symbols are handled by lld, their relocation should be replaced with the following instructions8# RUN: llvm-objdump --macho -D %t/arm64-32-dtrace | FileCheck %s --check-prefix=CHECK9 10# CHECK: 00 00 80 d2  mov     x0, #011 12# CHECK: 1f 20 03 d5  nop13 14#--- arm64-32-dtrace.s15	.globl	_main16_main:17	bl	___dtrace_isenabled$Foo$added$v118	.reference	___dtrace_typedefs$Foo$v219	bl	___dtrace_probe$Foo$added$v1$696e7420	.reference	___dtrace_stability$Foo$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_021	ret22 23.subsections_via_symbols24