2015-10-13 05:50:08 +08:00
|
|
|
# REQUIRES: x86
|
|
|
|
# RUN: echo "OUTPUT_ARCH(x)" > %t.script
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
|
2015-11-18 14:11:01 +08:00
|
|
|
# RUN: ld.lld -shared -o %t2 %t1 %t.script
|
2015-10-13 05:50:08 +08:00
|
|
|
# RUN: llvm-readobj %t2 > /dev/null
|
|
|
|
|
|
|
|
# RUN: echo "OUTPUT_ARCH(x, y)" > %t.script
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
|
2015-11-18 14:11:01 +08:00
|
|
|
# RUN: not ld.lld -shared -o %t2 %t1 %t.script
|
2015-10-13 05:50:08 +08:00
|
|
|
# RUN: llvm-readobj %t2 > /dev/null
|