From: Reid Kleckner Date: Tue, 16 Jul 2019 23:38:05 +0000 (+0000) Subject: Fix darwin-ld.c if dsymutil.exe exists on PATH X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8f93529603ebb5459b312229e83f275b0e8032a;p=clang Fix darwin-ld.c if dsymutil.exe exists on PATH git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366282 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/darwin-ld.c b/test/Driver/darwin-ld.c index f01eeb4ea2..eb357a9819 100644 --- a/test/Driver/darwin-ld.c +++ b/test/Driver/darwin-ld.c @@ -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