r366282 - Fix darwin-ld.c if dsymutil.exe exists on PATH
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 16 16:38:05 PDT 2019
Author: rnk
Date: Tue Jul 16 16:38:05 2019
New Revision: 366282
URL: http://llvm.org/viewvc/llvm-project?rev=366282&view=rev
Log:
Fix darwin-ld.c if dsymutil.exe exists on PATH
Modified:
cfe/trunk/test/Driver/darwin-ld.c
Modified: cfe/trunk/test/Driver/darwin-ld.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/darwin-ld.c?rev=366282&r1=366281&r2=366282&view=diff
==============================================================================
--- cfe/trunk/test/Driver/darwin-ld.c (original)
+++ cfe/trunk/test/Driver/darwin-ld.c Tue Jul 16 16:38:05 2019
@@ -5,9 +5,9 @@
// Make sure we run dsymutil on source input files.
// RUN: %clang -target i386-apple-darwin9 -### -g %s -o BAR 2> %t.log
-// RUN: grep '".*dsymutil" "-o" "BAR.dSYM" "BAR"' %t.log
+// RUN: grep '".*dsymutil\(.exe\)\?" "-o" "BAR.dSYM" "BAR"' %t.log
// RUN: %clang -target i386-apple-darwin9 -### -g -filelist FOO %s -o BAR 2> %t.log
-// RUN: grep '".*dsymutil" "-o" "BAR.dSYM" "BAR"' %t.log
+// RUN: grep '".*dsymutil\(.exe\)\?" "-o" "BAR.dSYM" "BAR"' %t.log
// Check linker changes that came with new linkedit format.
// RUN: touch %t.o
More information about the cfe-commits
mailing list