blob: 06b37b017f0b0339b0d682340cf4cfac65d898c7 [file] [log] [blame]
# REQUIRES: x86
# RUN: echo ".globl _main; .text; _main: ret" | llvm-mc -filetype=obj -triple=x86_64-apple-darwin -o %t.o
# RUN: not %lld -o %t %t.o -order_file %s 2>&1 | FileCheck %s
# CHECK: error: invalid arch "sparc" in order file: expected one of arm, arm64, i386, x86_64, ppc, ppc64
# CHECK-EMPTY:
_barsymbol
sparc:hello.o:_foosymbol
i386:hello.o:_foosymbol