From f5efe0aa048b2bd3363b3a53efe9ae7367244801 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 20 Apr 2021 12:58:54 -0700 Subject: [PATCH] [Driver] Support both slashes This addresses Windows breakage introduced by ae8b2cab67408a043a4fe964d16e4803553c4ee0. --- clang/test/Driver/darwin-ld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"