OUTPUT_ARCH command can contain architecture values separated with ":", like: OUTPUT_ARCH(i386:x86-64) We did not support that, because got 3 lexer tokens here after recent changes. This trivial patch fixes the issue, now whole expression inside OUTPUT_ARCH is just ignored. Differential revision: https://reviews.llvm.org/D29640 llvm-svn: 294432
5 lines
201 B
ArmAsm
5 lines
201 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: echo "OUTPUT_ARCH(All data written here is ignored)" > %t.script
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
|
|
# RUN: ld.lld -shared -o %t2 %t1 %t.script
|