arch.s 280 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-darwin %s -o %t.o # RUN: %lld -o /dev/null %t.o # RUN: not %lld -arch i386 -o /dev/null %t.o 2>&1 | FileCheck %s # CHECK: error: missing or unsupported -arch i386 .text .global _main _main: mov $0, %rax ret