]> granicus.if.org Git - clang/commitdiff
Fix darwin-ld.c if dsymutil.exe exists on PATH
authorReid Kleckner <rnk@google.com>
Tue, 16 Jul 2019 23:38:05 +0000 (23:38 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 16 Jul 2019 23:38:05 +0000 (23:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366282 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/darwin-ld.c

index f01eeb4ea28e029990199376fdeb7c8c2161b962..eb357a9819ffc9a59c80781c84191a329c59e4ea 100644 (file)
@@ -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