Skip to content

Commit d231537

Browse files
committed
Fix test/Driver/embed-bitcode.c on non-Darwin host by setting the target explicitly
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292964 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 1baa44d commit d231537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Driver/embed-bitcode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
// CHECK-LTO-NOT: -cc1
3636
// CHECK-LTO-NOT: -fembed-bitcode=all
3737
// RUN: touch %t.o
38-
// RUN: %clang %t.o -fembed-bitcode -fembed-bitcode-marker -mlinker-version=277 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO-MARKER-277
39-
// RUN: %clang %t.o -fembed-bitcode -fembed-bitcode-marker -mlinker-version=278 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO-MARKER-278
38+
// RUN: %clang -target armv7-apple-darwin -miphoneos-version-min=6.0 %t.o -fembed-bitcode -fembed-bitcode-marker -mlinker-version=277 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO-MARKER-277
39+
// RUN: %clang -target armv7-apple-darwin -miphoneos-version-min=6.0 %t.o -fembed-bitcode -fembed-bitcode-marker -mlinker-version=278 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO-MARKER-278
4040
// CHECK-LTO-MARKER-277-NOT: bitcode_process_mode
4141
// CHECK-LTO-MARKER-278: bitcode_process_mode
4242

0 commit comments

Comments
 (0)