Author: Alex Lorenz
Date: 2021-07-22T11:12:38-07:00
New Revision: 40d2d0c41298f1d8a178216e2534b29e3128cf37

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

LOG: [clang][test] Add -fuse-ld= to test case added in 2542c1a5a130 to resolve 
test failure with CLANG_DEFAULT_LINKER=lld

Added: 
    

Modified: 
    clang/test/Driver/darwin-ld.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/darwin-ld.c b/clang/test/Driver/darwin-ld.c
index bd874d24e6c7..7441cc186df9 100644
--- a/clang/test/Driver/darwin-ld.c
+++ b/clang/test/Driver/darwin-ld.c
@@ -140,7 +140,7 @@
 // LINK_VERSION_MIN: {{ld(.exe)?"}}
 // LINK_VERSION_MIN: "-macosx_version_min" "10.7.0"
 
-// RUN: %clang -target x86_64-apple-ios13.1-macabi -mlinker-version=400 -### 
%t.o 2>> %t.log
+// RUN: %clang -target x86_64-apple-ios13.1-macabi -fuse-ld= 
-mlinker-version=400 -### %t.o 2>> %t.log
 // RUN: FileCheck -check-prefix=LINK_VERSION_MIN_MACABI %s < %t.log
 // LINK_VERSION_MIN_MACABI: {{ld(.exe)?"}}
 // LINK_VERSION_MIN_MACABI: "-maccatalyst_version_min" "13.1.0"


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to