From 3af4039876a148a841aecfae89d356033d022c74 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 5 Aug 2020 17:00:16 -0700 Subject: [PATCH] [ELF][test] Add another -triple=x86_64 to linkorder-mixed.s Fixes an error on macOS: error: mach-o section specifier uses an unknown section type --- lld/test/ELF/linkorder-mixed.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/ELF/linkorder-mixed.s b/lld/test/ELF/linkorder-mixed.s index 6cba046..8298534 100644 --- a/lld/test/ELF/linkorder-mixed.s +++ b/lld/test/ELF/linkorder-mixed.s @@ -15,7 +15,7 @@ # CHECK-NEXT: [[#%x,ADDR:]] 01020003 ## TODO Allow non-contiguous SHF_LINK_ORDER sections in an output section. -# RUN: llvm-mc --filetype=obj --defsym EXTRA=1 %s -o %t.o +# RUN: llvm-mc --filetype=obj -triple=x86_64 --defsym EXTRA=1 %s -o %t.o # RUN: not ld.lld %t.o -o /dev/null .section .text,"ax",@progbits,unique,0 -- 2.7.4