[lld] 3af4039 - [ELF][test] Add another -triple=x86_64 to linkorder-mixed.s

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 17:00:45 PDT 2020


Author: Fangrui Song
Date: 2020-08-05T17:00:37-07:00
New Revision: 3af4039876a148a841aecfae89d356033d022c74

URL: https://github.com/llvm/llvm-project/commit/3af4039876a148a841aecfae89d356033d022c74
DIFF: https://github.com/llvm/llvm-project/commit/3af4039876a148a841aecfae89d356033d022c74.diff

LOG: [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

Added: 
    

Modified: 
    lld/test/ELF/linkorder-mixed.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/linkorder-mixed.s b/lld/test/ELF/linkorder-mixed.s
index 6cba0468022b..829853422dba 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", at progbits,unique,0


        


More information about the llvm-commits mailing list