invalid-executable.s 266 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 %t %t.o # RUN: not %lld -o /dev/null %t 2>&1 | FileCheck %s -DFILE=%t # CHECK: error: [[FILE]]: unhandled file type .text .global _main _main: mov $0, %rax ret