18 lines · plain
1# REQUIRES: aarch64, x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.x86_64.o4# RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.arm64.o5# RUN: llvm-mc -filetype=obj -triple=arm64e-apple-darwin %s -o %t.arm64e.o6# RUN: llvm-mc -filetype=obj -triple=arm64_32-apple-watchos %s -o %t.arm64_32.o7 8# RUN: %lld -arch x86_64 -lSystem -no_pie -o %t %t.x86_64.o9# RUN: not %lld -arch arm64 -lSystem -no_pie -o %t %t.arm64.o 2>&1 | FileCheck %s10# RUN: not %lld -arch arm64e -lSystem -no_pie -o %t %t.arm64e.o 2>&1 | FileCheck %s11# RUN: not %lld-watchos -arch arm64_32 -lSystem -no_pie -o %t %t.arm64_32.o 2>&1 | FileCheck %s12 13# CHECK: error: -no_pie ignored for arm6414 15.globl _main16_main:17 ret18