[lld] 4737516 - [LLD] Convert a test to use 'target=...' instead of triple check

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 11:53:16 PST 2022


Author: Paul Robinson
Date: 2022-12-09T11:53:07-08:00
New Revision: 47375160d7ad3dd21e3aa3db594739d24debb8db

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

LOG: [LLD] Convert a test to use 'target=...' instead of triple check

Part of the project to eliminate special handling for triples in lit
expressions.

Added: 
    

Modified: 
    lld/test/MachO/invalid/stub-link.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/invalid/stub-link.s b/lld/test/MachO/invalid/stub-link.s
index effdca7864b47..dc07a96c84ba0 100644
--- a/lld/test/MachO/invalid/stub-link.s
+++ b/lld/test/MachO/invalid/stub-link.s
@@ -1,7 +1,7 @@
 ## FIXME: This test seems to be failing on some Google Mac buildbots for
 ## unclear reasons, so it's disabled for now. See D85404 for details.
-# UNSUPPORTED: darwin
-# REQUIRES: x86
+# UNSUPPORTED: target={{.*}}-darwin{{.*}}
+# REQUIRES: target=x86{{.*}}
 
 # RUN: mkdir -p %t
 #


        


More information about the llvm-commits mailing list