Fix split-debug.c test on Windows
authorReid Kleckner <rnk@google.com>
Wed, 16 Dec 2020 21:48:47 +0000 (13:48 -0800)
committerReid Kleckner <rnk@google.com>
Wed, 16 Dec 2020 21:48:57 +0000 (13:48 -0800)
clang/test/Driver/split-debug.c

index 7d3fcf0..de1258d 100644 (file)
@@ -59,8 +59,8 @@
 
 /// Invoke objcopy if not using the integrated assembler.
 // RUN: %clang -### -c -target x86_64-unknown-linux-gnu -fno-integrated-as -gsplit-dwarf -g %s 2>&1 | FileCheck %s --check-prefix=OBJCOPY
-// OBJCOPY:      objcopy" "--extract-dwo"
-// OBJCOPY-NEXT: objcopy" "--strip-dwo"
+// OBJCOPY:      objcopy{{(.exe)?}}" "--extract-dwo"
+// OBJCOPY-NEXT: objcopy{{(.exe)?}}" "--strip-dwo"
 
 /// ... but not for assembly output.
 // RUN: %clang -### -S -target x86_64-unknown-linux-gnu -fno-integrated-as -gsplit-dwarf -g %s 2>&1 | FileCheck %s --check-prefix=NOOBJCOPY