Author: Petr Hosek
Date: 2021-04-20T13:25:38-07:00
New Revision: f5efe0aa048b2bd3363b3a53efe9ae7367244801

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

LOG: [Driver] Support both slashes

This addresses Windows breakage introduced by
ae8b2cab67408a043a4fe964d16e4803553c4ee0.

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 4de850fad9d8..7c782e1cb5bf 100644
--- a/clang/test/Driver/darwin-ld.c
+++ b/clang/test/Driver/darwin-ld.c
@@ -369,4 +369,4 @@
 // RUN: %clang -target x86_64-apple-darwin10 -### %t.o 2> %t.log
 // RUN: FileCheck -check-prefix=INSTALL-DIR %s < %t.log
 // INSTALL-DIR: InstalledDir: [[INSTALLDIR:.+$]]
-// INSTALL-DIR: "-L[[INSTALLDIR]]/../lib"
+// INSTALL-DIR: "-L[[INSTALLDIR]]{{/|\\\\}}..{{/|\\\\}}lib"


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

Reply via email to