22 lines · plain
1# RUN: llvm-mc -triple=arm64e-apple-macosx -filetype=obj -o %t.o %s2# RUN: llvm-jitlink -num-threads=0 -debug-only=orc -noexec \3# RUN: -abs _foo=0x1 %t.o 2>&1 \4# RUN: | FileCheck %s5#6# Ensure that we don't lose dependence tracking information when ptrauth edges7# are lowered: _main should still depend on _foo.8#9# REQUIRES: asserts10 11# CHECK: Symbols: { _main }, Dependencies: { (main, { _foo }) }12 13 .section __TEXT,__text,regular,pure_instructions14 15 .section __DATA,__data16 .globl _main17 .p2align 3, 0x018_main:19 .quad _foo@AUTH(ia,0)20 21.subsections_via_symbols22