[lld] eb45b97 - [ELF][test] Add REQUIES: x86 and -triple=x86_64 to linkorder-mixed.s

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 16:29:16 PDT 2020


Author: Fangrui Song
Date: 2020-08-05T16:28:44-07:00
New Revision: eb45b978b7d646a7fb96a2734e44d03b2a066dfa

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

LOG: [ELF][test] Add REQUIES: x86 and -triple=x86_64 to linkorder-mixed.s

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 37f1f649e50a..6cba0468022b 100644
--- a/lld/test/ELF/linkorder-mixed.s
+++ b/lld/test/ELF/linkorder-mixed.s
@@ -1,6 +1,7 @@
+# REQUIRES: x86
 ## Test that we allow SHF_LINK_ORDER sections with sh_link=0.
 ## SHF_LINK_ORDER sections with sh_link!=0 are ordered before others.
-# RUN: llvm-mc -filetype=obj %s -o %t.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
 # RUN: ld.lld %t.o -o %t
 # RUN: llvm-readelf -S -x .linkorder %t | FileCheck %s
 


        


More information about the llvm-commits mailing list